ci: adds logs

This commit is contained in:
Simone Corsi
2022-05-09 16:49:56 +02:00
parent a8b657735b
commit 52bf53cb39

View File

@@ -64,8 +64,9 @@ export async function run(): Promise<any> {
const catchAll = (info: any) => {
core.setFailed(`#catchAll: ${info}`);
core.error(info);
};
process.on('unhandledRejection', catchAll);
process.on('uncaughtException', catchAll);
run();
run().catch(core.error);