Skip to content

Commit

Permalink
Add workaround for the Raygun AttributeError
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjazz committed Apr 22, 2024
1 parent d216638 commit c5d4ea5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pontoon/base/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@


class RaygunExceptionMiddleware(Provider, MiddlewareMixin):
def __init__(self, get_response):
super().__init__(get_response)
self._async_check()

def process_exception(self, request, exception):
# Ignore non-failure exceptions. We don't need to be notified
# of these.
Expand Down

0 comments on commit c5d4ea5

Please sign in to comment.