Skip to content

Add AddException priority chain tests for exception data preservation#45

Merged
Theauxm merged 1 commit into
mainfrom
fix/preserve-original-exception
Apr 3, 2026
Merged

Add AddException priority chain tests for exception data preservation#45
Theauxm merged 1 commit into
mainfrom
fix/preserve-original-exception

Conversation

@Theauxm
Copy link
Copy Markdown
Member

@Theauxm Theauxm commented Apr 3, 2026

Summary

  • Add tests verifying Metadata.AddException correctly reads from Exception.Data dictionary, falls back to JSON message deserialization, and handles stack trace fallback

Test plan

  • RemoteErrorRoundTripTests — 6 new tests for Exception.Data priority, JSON fallback, stack trace preference, plain exception fallback

…ation

Test that Metadata.AddException correctly reads TrainExceptionData from
Exception.Data dictionary, falls back to JSON message deserialization,
and handles stack trace fallback for backwards compatibility.
@Theauxm Theauxm merged commit 0230d34 into main Apr 3, 2026
1 of 3 checks passed
@Theauxm Theauxm deleted the fix/preserve-original-exception branch April 3, 2026 16:25
@traxsharp
Copy link
Copy Markdown

traxsharp Bot commented Apr 3, 2026

This PR is included in version 1.25.1

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