You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In our Websocket.py, we want to log errors that occur in this application, as our app uses WSS heavily.
Sentry has an ASGI middleware for logging, and we set the following up in the websocket.py file.
However, on production, still, sentry does not seem to log these errors. I was wondering if this is the correct place to instantiate the logger?
Otherwise, when I try to import the WebsocketApplication into the production.py, we receive a circular import error.
Please let me know.
Beta Was this translation helpful? Give feedback.
All reactions