Skip to content

Commit

Permalink
Merge pull request #7597 from kozlovsky/fix/connection_lost
Browse files Browse the repository at this point in the history
Fix "ConnectionResetError: Connection lost"
  • Loading branch information
kozlovsky committed Sep 15, 2023
2 parents 6770014 + 35f700e commit 00e7982
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tribler/core/sentry_reporter/sentry_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,13 @@ def scrub_event(self, event):
),
ThreadingIntegration(propagate_hub=True),
],
auto_enabling_integrations=False,
before_send=self._before_send,
before_breadcrumb=self._before_breadcrumb,
ignore_errors=[KeyboardInterrupt],
ignore_errors=[
KeyboardInterrupt,
ConnectionResetError,
]
)

ignore_logger(self._sentry_logger_name)
Expand Down

0 comments on commit 00e7982

Please sign in to comment.