Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core.error stack trace logging #1992

Open
GhadimiR opened this issue Mar 12, 2025 · 0 comments
Open

core.error stack trace logging #1992

GhadimiR opened this issue Mar 12, 2025 · 0 comments
Labels
enhancement New feature or request papercut

Comments

@GhadimiR
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request papercut
Projects
None yet
Development

No branches or pull requests

1 participant