Replies: 1 comment 1 reply
-
| I think this branch is what is throwing away the information. When one of the arguments is an error, only the message is kept. So a custom } else if (msg && msg.stack && msg.message) { stringMsg = msg.message + " "; } else { try { stringMsg = "\n" + safeStringify(msg) + "\n"; } catch (error) { stringMsg += "Undefined Message"; } |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I notice that if I use console.error, I get the stacktrace and cause of an error, but logging the same error with logger.error gives me a truncated message that makes debugging difficult. Is there a way to configure it to show the full trace, or is this truncation intentional?
Beta Was this translation helpful? Give feedback.
All reactions