Unhandled error when re-call bree.start() #211
Unanswered
Romax-91
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When launching bree with express, re-call bree.start() throws an exception for already started jobs and node app crashed.
This error cannot be caught in try...catch or Promise.prototype.catch().
The error occurs due to an incorrect call to an asynchronous function in a loop:
Perhaps it is better to replace with this code for correct error handling:
Beta Was this translation helpful? Give feedback.
All reactions