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
{ _tag: 'Right', right: Promise { <rejected> undefined } }
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v18.9.0
The text was updated successfully, but these errors were encountered:
🐛 Bug report
Current Behavior
NodeJS crashes because Promise errors are handled using try...catch
Reproducible example
The text was updated successfully, but these errors were encountered: