Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make the process error with a proper exit code #36

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Jul 9, 2022

Inspired by https://medium.com/@dtinth/making-unhandled-promise-rejections-crash-the-node-js-process-ffc27cfcc9dd

should close #34

Be warned: I am not all all a nodejs expert and this change was not tested

@staabm
Copy link
Contributor Author

staabm commented Jul 9, 2022

The built contains the same errors reported in #33 which IMO are unrelated

@staabm staabm changed the title make the process error with a proper error make the process error with a proper exit code Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nodejs error do not set a non-zero exit-code
1 participant