criblio / js2bin

NodeJS application to native executable
Apache License 2.0
94 stars 17 forks source link

Unhandled promise rejection #20

Open asamuzaK opened 4 years ago

asamuzaK commented 4 years ago

UnhandledPromiseRejectionWarning are logged in build logs.

https://dev.azure.com/criblio/js2bin/_build/results?buildId=1748&view=logs&j=0975ef43-79f0-500d-9f93-7109c7ec63a7&t=347eed54-f4d2-5fcd-ed9b-35e0cb99d283&l=6028

https://dev.azure.com/criblio/js2bin/_build/results?buildId=1748&view=logs&j=a0f6b896-e7cc-5558-0f61-d13b79b58942&t=c96fa010-0cd7-57d3-84f0-653414fb5cdb&l=8994

https://dev.azure.com/criblio/js2bin/_build/results?buildId=1748&view=logs&j=62f585f5-8e31-54d3-d47d-f390a4794291&t=f67703dd-44f0-5a91-ec83-30dc85bed5a5&l=7786

asamuzaK commented 4 years ago

FYI Node.js changed their default to throw since v15 node/CHANGELOG_V15.md at master · nodejs/node process: Change default --unhandled-rejections=throw by dfabulich · Pull Request #33021 · nodejs/node