diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2019-05-23 16:12:27 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2019-05-23 16:20:47 +0200 |
commit | 7bff4f2856a2cc8126fa8d2fecbd07e0422f2fb4 (patch) | |
tree | ff0ac2f5ee741ef566b4d017f2d882feca61aaee /docs/slack.gif | |
parent | e03a131bd75bfc478ab9359000d860bd772cff10 (diff) | |
download | wee-slack-7bff4f2856a2cc8126fa8d2fecbd07e0422f2fb4.tar.gz |
Fix broken receive_httprequest_callback when record_events is true
When removing pickle in commit 3639342 I broke record_events without
realizing it. record_events tries to json serialize the response dict,
and that failed because that dict includes some metadata which without
pickle is a class instead of a string.
Fix it by recording the event before adding the metadata. I don't think
there is much point in recording the metadata, and the serialized output
from pickle wasn't practical anyways.
Diffstat (limited to 'docs/slack.gif')
0 files changed, 0 insertions, 0 deletions