Open
Description
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.
Code Snippet
The relevant code can be found here.
Additional information
This change was originally proposed by @iamstarkov in this PR