ci: adds logs

This commit is contained in:
Simone Corsi 2022-05-09 16:49:56 +02:00
parent 346ba5d4b7
commit 57651eab5a
No known key found for this signature in database
GPG Key ID: 0F5535005610947A

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);