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
Describe the enhancement
Currently, the core package's error function uses toString() on errors reported using this function, and so after the error message is printed, the stack trace is lost.
There is a strong argument to be made for instead printing the stack trace when an error is provided, to make it easier for package integrators to debug their integrations.
Describe the enhancement
Currently, the core package's
error
function usestoString()
on errors reported using this function, and so after the error message is printed, the stack trace is lost.There is a strong argument to be made for instead printing the stack trace when an error is provided, to make it easier for package integrators to debug their integrations.
Code Snippet
The relevant code can be found here.
Additional information
This change was originally proposed by @iamstarkov in this PR
The text was updated successfully, but these errors were encountered: