Skip to content

Commit

Permalink
process should now end with error if one occures
Browse files Browse the repository at this point in the history
  • Loading branch information
LokiMidgard committed Dec 12, 2020
1 parent 271f43f commit cd6c5a2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,10 @@ async function main() {


}
main().catch(x =>
console.error(x));
main().catch(x => {
console.error(x)
process.exit(-1)
})



Expand Down

0 comments on commit cd6c5a2

Please sign in to comment.