GameServerWeb.Plugs.SentryContext
(game_server_web v1.0.938)
Copy Markdown
A small Plug that sets Sentry scope information for each request.
If the request includes an authenticated user (via current_scope assign)
this plug will set the Sentry user context and add a couple of extra fields
(request_id and path). This helps Sentry group errors by user and gives
more telemetry context for debugging.