Skip to content

Commit

Permalink
fix: incorrect scope creation in sentry event
Browse files Browse the repository at this point in the history
  • Loading branch information
A.Shpak committed Feb 20, 2024
1 parent d6c474e commit befbab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feedforbot/core/transports.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def send(
is_success = await self._send_article(article)
except TransportSendError as exc:
with push_scope() as scope:
scope.set_extra(**article.model_dump())
scope.set_extra('article', article.model_dump())
capture_exception(exc)
failed.append(article)
continue
Expand Down

0 comments on commit befbab7

Please sign in to comment.