Skip to content

Commit

Permalink
Disable raven_compat middlewares to avoid duplicate error reports to …
Browse files Browse the repository at this point in the history
…Sentry
  • Loading branch information
fruitschen committed Mar 25, 2024
1 parent bb0e242 commit ff59aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linkcheck/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class LinkCheckHandler(ClientHandler):
# Customize the ClientHandler to allow us removing some middlewares

def load_middleware(self):
self.ignore_keywords = ['reversion.middleware', 'MaintenanceModeMiddleware']
self.ignore_keywords = ['reversion.middleware', 'MaintenanceModeMiddleware', 'raven_compat']
super().load_middleware()
new_request_middleware = []

Expand Down

0 comments on commit ff59aa6

Please sign in to comment.