Open arichiardi opened 6 years ago
Hello @bensu and all!
I know this is controversial and I can handle it myself in my side of the code but I was wondering whether it makes sense to adopt the following solution by default for :node targets in case of unhandled promise rejection.
:node
https://medium.com/@dtinth/making-unhandled-promise-rejections-crash-the-node-js-process-ffc27cfcc9dd
Leaving this here for further discussion.
+1, although @arichiardi I think you mean "non-zero", correct?
We got hit by this. Builds were passing in Jenkins despite the tests actually failing.
Hello @bensu and all!
I know this is controversial and I can handle it myself in my side of the code but I was wondering whether it makes sense to adopt the following solution by default for
:node
targets in case of unhandled promise rejection.https://medium.com/@dtinth/making-unhandled-promise-rejections-crash-the-node-js-process-ffc27cfcc9dd
Leaving this here for further discussion.