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
It's not valid to return a rejected promise from this event handler, as nothing handles that rejected promise. The default unhandledRejection handler is to exit with status 1, so node exits.
I would rather that node didn't exit when there was an error, and some kind of error handler was called, so I can handle or retry said error.
The text was updated successfully, but these errors were encountered:
If the storage system throws an error, the exception unwinds back to here:
automerge-repo/packages/automerge-repo/src/Repo.ts
Lines 34 to 38 in d3616cd
It's not valid to return a rejected promise from this event handler, as nothing handles that rejected promise. The default
unhandledRejection
handler is to exit with status 1, so node exits.I would rather that node didn't exit when there was an error, and some kind of error handler was called, so I can handle or retry said error.
The text was updated successfully, but these errors were encountered: