Skip to content

core.error stack trace logging #1992

Open
@GhadimiR

Description

@GhadimiR

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions