mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-11 22:02:26 +00:00
log host on error
This commit is contained in:
@@ -25,7 +25,7 @@ export async function createServiceForHost<T extends ServiceClass>(
|
||||
instanceUrl = await getInstanceUrl(host);
|
||||
} catch (error) {
|
||||
console.error(
|
||||
"Could not get instance url, fallback to ZITADEL_API_URL",
|
||||
`Could not get instance url for ${host}, fallback to ZITADEL_API_URL`,
|
||||
error,
|
||||
);
|
||||
instanceUrl = process.env.ZITADEL_API_URL;
|
||||
|
||||
Reference in New Issue
Block a user