mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fail in case of error (#7550)
This commit is contained in:
@@ -88,9 +88,11 @@ async function main() {
|
|||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
logger.info(`Aps something went wrong. Tenant id ${tenantId}`);
|
logger.info(`Aps something went wrong. Tenant id ${tenantId}`);
|
||||||
|
process.exit(1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
logger.info('APS license error: check the configuration');
|
logger.info('APS license error: check the configuration');
|
||||||
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user