Add extra context in Sentry

This commit is contained in:
Uku Taht 2020-06-16 16:21:08 +03:00
parent 788596230b
commit 192bc4e956

View File

@ -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, _} ->