feat: catch error when calling the main function (#138)

This commit is contained in:
Alfi Maulana
2023-12-14 18:37:47 +07:00
committed by GitHub
parent 65845a480e
commit dd9fe54799
2 changed files with 2 additions and 2 deletions

View File

@@ -75,4 +75,4 @@ async function main() {
}
}
main();
main().catch((err) => core.setFailed(err));