Skip to content

Commit

Permalink
Merge pull request #54 from Siecje/context
Browse files Browse the repository at this point in the history
Use structured context instead of additional data
  • Loading branch information
mdgart authored Feb 24, 2022
2 parents d5140fb + e68b814 commit a8f9ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentrylogs/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ def send_message(message, level, data):
return
with push_scope() as scope:
for key, value in data.items():
scope.set_extra(key, value)
scope.set_context(key, value)
capture_message(message, level)

0 comments on commit a8f9ae2

Please sign in to comment.