mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 02:24:55 +03:00
Add extra context in Sentry
This commit is contained in:
parent
788596230b
commit
192bc4e956
@ -4,6 +4,7 @@ defmodule PlausibleWeb.Api.ExternalController do
|
||||
|
||||
def event(conn, _params) do
|
||||
params = parse_body(conn)
|
||||
Sentry.Context.set_extra_context(%{request: params})
|
||||
|
||||
case create_event(conn, params) do
|
||||
{:ok, _} ->
|
||||
|
Loading…
Reference in New Issue
Block a user