Skip to content

Print internal exception stack traces on failed transaction rollback #18023

Merged
Mytherin merged 1 commit into
duckdb:v1.3-ossivalisfrom
taniabogatsch:stacktraces
Jun 24, 2025
Merged

Print internal exception stack traces on failed transaction rollback #18023
Mytherin merged 1 commit into
duckdb:v1.3-ossivalisfrom
taniabogatsch:stacktraces

Conversation

@taniabogatsch
Copy link
Copy Markdown
Member

@taniabogatsch taniabogatsch commented Jun 23, 2025

Also ensures that ErrorData::ConstructFinalMessage() always appends the stack trace.

Close https://github.com/duckdblabs/duckdb-internal/issues/5166.

@Mytherin Mytherin merged commit 2dd0dc9 into duckdb:v1.3-ossivalis Jun 24, 2025
52 checks passed
@Mytherin
Copy link
Copy Markdown
Collaborator

Thanks!

@taniabogatsch taniabogatsch deleted the stacktraces branch June 24, 2025 10:30
github-actions Bot pushed a commit to duckdb/duckdb-r that referenced this pull request Jun 27, 2025
Print internal exception stack traces on failed transaction rollback  (duckdb/duckdb#18023)
Make test more lenient (duckdb/duckdb#18022)
github-actions Bot added a commit to duckdb/duckdb-r that referenced this pull request Jun 27, 2025
Print internal exception stack traces on failed transaction rollback  (duckdb/duckdb#18023)
Make test more lenient (duckdb/duckdb#18022)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
JelteF added a commit to JelteF/duckdb that referenced this pull request Jun 30, 2025
Since duckdb#18023 stack traces are now
being added in ConstructFinalMessage. However they were not using the
"Stack trace:" prefix that is used for all other stack traces. This
makes it hard extract/remove these specific stack traces from the
resulting error message. This adds that same prefix.
JelteF added a commit to JelteF/duckdb that referenced this pull request Jun 30, 2025
Since duckdb#18023 stack traces are now
being added in ConstructFinalMessage. However they were not using the
"Stack trace:" prefix that is used for all other stack traces. This
makes it hard extract/remove these specific stack traces from the
resulting error message. This adds that same prefix.
Mytherin added a commit that referenced this pull request Jul 1, 2025
Since #18023 stack traces are now
being added in ConstructFinalMessage. However they were not using the
"Stack trace:" prefix that is used for all other stack traces. This
makes it hard extract/remove these specific stack traces from the
resulting error message. This adds that same prefix.
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.

2 participants