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: