Skip to content

Commit ca94e19

Browse files
committed
ref: change protocol to latest revision
1 parent 049bc5e commit ca94e19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sentry_sdk/transport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ def _flush_stats(self, force=False):
274274
json={
275275
"timestamp": time.time(),
276276
"discarded_events": [
277-
(data_category, reason, quantity)
277+
{"reason": reason, "category": category, "quantity": quantity}
278278
for (
279-
(data_category, reason),
279+
(category, reason),
280280
quantity,
281281
) in discarded_events.items()
282282
],

0 commit comments

Comments
 (0)