mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 01:02:17 +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);
|
instanceUrl = await getInstanceUrl(host);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.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,
|
error,
|
||||||
);
|
);
|
||||||
instanceUrl = process.env.ZITADEL_API_URL;
|
instanceUrl = process.env.ZITADEL_API_URL;
|
||||||
|
|||||||
Reference in New Issue
Block a user