toolkit icon indicating copy to clipboard operation
toolkit copied to clipboard

core.error stack trace logging

Open GhadimiR opened this issue 9 months ago • 0 comments

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

GhadimiR avatar Mar 12 '25 10:03 GhadimiR