pretty-error
pretty-error copied to clipboard
Error message is stripped if stack exists
It seems as though the error's message is stripped if a stack trace is present (ParsedError.coffee:25):
if typeof @_stack is 'string'
@_parseStack()
else
@_message = @error.message? and String(@error.message) or ''
Resulting in something like: (when no stack is present)
And this when there is a stack: