OPSEXP-2987 init-aps-env error reporting on tenant creation failure (#10483)

This commit is contained in:
Giovanni Toraldo
2024-12-11 14:19:15 +01:00
committed by GitHub
parent 1cfbeff28c
commit e38daa3e08

View File

@@ -121,7 +121,7 @@ export default async function main() {
logger.info('Something went wrong. Was not able to create the users'); logger.info('Something went wrong. Was not able to create the users');
} }
} catch (error) { } catch (error) {
logger.info(`Aps something went wrong. Tenant id ${tenantId}`); logger.error(`Aps something went wrong. Tenant id ${tenantId}`, error);
exit(1); exit(1);
} }
} else { } else {