Skip to content

Allow extensions to send stack trace on error - #1980

Open
JosephVolosin wants to merge 1 commit into
developfrom
feature/extension-stacktrace
Open

Allow extensions to send stack trace on error#1980
JosephVolosin wants to merge 1 commit into
developfrom
feature/extension-stacktrace

Conversation

@JosephVolosin

Copy link
Copy Markdown
Contributor

This PR slightly modifies the ExtensionResponse object to allow for an optional trace?: string. This is so extensions can optionally send back their own stack trace with the error to help debugging. By tagging this onto the throw new Error via. the ErrorOptions, the stack trace is printed out in the expanded log message, while keeping the message itself shorter.

@sonarqubecloud

sonarqubecloud Bot commented Aug 5, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant