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

Don't try to truncate payloads with 'trace' if that key doesn't exist. #196

Merged
merged 3 commits into from
Dec 19, 2014

Conversation

jondeandres
Copy link
Contributor

In normal situations this shouldn't happen never. Perhaps only for message reporting instead of exceptions.

@jondeandres
Copy link
Contributor Author

@brianr finally I've rescued the exception, log the error and payload and re-raise the exception.

In order to report an internal error for this I'd add a new method process_payload_safely, so the async handlers should call that new method. The behaviour for sync reporting is the same since report rescues and use report_internal_error.

brianr added a commit that referenced this pull request Dec 19, 2014
Don't try to truncate payloads with 'trace' if that key doesn't exist.
@brianr brianr merged commit 2ee7d59 into master Dec 19, 2014
@waltjones waltjones deleted the fix-frames-truncation-strategy branch June 27, 2023 18:19
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