You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@dannyzaken@guymguym@shirady
We discussed it a few weeks ago when had the previous PANIC - (due to process.memoryUsage() failure)
Danny offered an idea that without --unhandled-rejections=warn we actually handle the issues we observe and not just getting warnings that later on being ignored.
Also, there was a suggestion to have another listener for unhandled rejections on panic.js similarly to process.on('uncaughtException', err => panic('process uncaughtException', err));
I would add that I think that if we decide not to add the flag, a comment about it can be useful - when reading it and comparing to package.json examples and also noobaa-cli we always have this --unhandled-rejections=warn.
Environment info
Actual behavior
noobaa.service
file we have this line:noobaa-core/src/deploy/noobaa.service
Line 10 in 6639c90
Expected behavior
package.json
file we are running node js scripts with--unhandled-rejections=warn
:noobaa-core/package.json
Line 32 in 6639c90
Steps to reproduce
More information - Screenshots / Logs / Other output
none
The text was updated successfully, but these errors were encountered: