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
I had a library give me errors that had error.stack set to false, which roc just logs as false (instead of the error message). See:
This is not very helpful as the error message is lost, and I have to step through roc code to figure out what went wrong.
The offending piece of code can be found here and here. I suggest adding a check (in addition to whether or not verbose logging is enabled) to see if error.stack is truthy. Something like this:
I had a library give me errors that had
error.stack
set tofalse
, which roc just logs asfalse
(instead of the error message). See:This is not very helpful as the error message is lost, and I have to step through roc code to figure out what went wrong.
The offending piece of code can be found here and here. I suggest adding a check (in addition to whether or not verbose logging is enabled) to see if
error.stack
is truthy. Something like this:The text was updated successfully, but these errors were encountered: