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

Add original_error to Report/Event #692

Merged
merged 2 commits into from
Sep 8, 2021
Merged

Add original_error to Report/Event #692

merged 2 commits into from
Sep 8, 2021

Conversation

imjoehaines
Copy link
Contributor

Goal

This PR adds an original_error attribute to the Report/Event class, containing the Exception instance used to construct the Report

This will replace the current Report#raw_exceptions in the next major version

This stores the original Exception instance directly. This is
different to 'raw_exceptions' because 'raw_exceptions' traverses
'cause' chains to build an array of Exception objects and attempts
to normalise non-Exception objects into Exceptions
Base automatically changed from add-report-errors to next September 7, 2021 15:18
@imjoehaines imjoehaines merged commit e1938de into next Sep 8, 2021
@imjoehaines imjoehaines deleted the add-original-error branch September 8, 2021 16:55
@imjoehaines imjoehaines mentioned this pull request Sep 17, 2021
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