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
e.g., within the task_failed handler, I could call err.toString() - and I have been doing that.
However, the emitted error in maxTimeout is just a string and so this assumption is broken:
Suddenly, when I call err.toString() my script crashes as toString isn't a member of a String object. Hence, I believe the maxTimeout handling should at least emit an error.
The text was updated successfully, but these errors were encountered:
TimDaub
added a commit
to TimDaub/better-queue
that referenced
this issue
Jun 29, 2022
Error
object and so it can be used ine.g., within the
task_failed
handler, I could callerr.toString()
- and I have been doing that.However, the emitted error in
maxTimeout
is just a string and so this assumption is broken:better-queue/lib/queue.js
Line 605 in 83dca16
Suddenly, when I call
err.toString()
my script crashes astoString
isn't a member of a String object. Hence, I believe themaxTimeout
handling should at least emit an error.The text was updated successfully, but these errors were encountered: