This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 657
Use skipkeys
when serializing payload
#1349
Comments
lbolla
added a commit
to lbolla/raven-python
that referenced
this issue
Mar 18, 2019
Also, don't try to call json.dumps with "encoding" keyword in Python3, which does not support it.
@lbolla When is this going to be done? Isn't this a one-line fix? Does this product even work?
|
I'll look into this on Monday. We still want to fix bugs in Raven. |
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See comment #1155 (comment)
When serializing error data (traceback, local vars, etc.) to be sent to the backend,
json.dumps
is used, inraven.utils.json
.json.dumps
can fail, e.g. when local data has the form:which cannot be serialized to json (because of the tuple key).
By using
json.dumps(skipkeys=True)
these kind of keys will be ignored.The text was updated successfully, but these errors were encountered: