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

Fixes bug that caused some payload fields to become invalid #77

Merged
merged 1 commit into from
Oct 9, 2015

Conversation

coryvirok
Copy link
Contributor

The problem was that the serializer was being run on the final payload
object which had references in the request dict to local variables in
the trace frames. This caused request.params = <CircularReference ...>
which is invalid according to the Rollbar API schema.

This change serializes the payload in sections so that each section
cannot reference the other while checking for circular references.

@brianr

The problem was that the serializer was being run on the final payload
object which had references in the request dict to local variables in
the trace frames. This caused request.params = <CircularReference ...>
which is invalid according to the Rollbar API schema.

This change serializes the payload in sections so that each section
cannot reference the other while checking for circular references.

@brianr
coryvirok added a commit that referenced this pull request Oct 9, 2015
…parately

Fixes bug that caused some payload fields to become invalid
@coryvirok coryvirok merged commit 7a1eca0 into master Oct 9, 2015
@coryvirok coryvirok deleted the bugfix/serialize-customer-data-separately branch November 3, 2015 19:20
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