mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 01:54:34 +03:00
Inspect extra sentry payload for get_invoices/1 failure (#2248)
* Inspect extra sentry payload for get_invoices/1 failure * Include params and invoices url in paddle trace
This commit is contained in:
parent
669091f2ef
commit
30b79e5239
@ -119,7 +119,7 @@ defmodule Plausible.Billing.PaddleApi do
|
||||
else
|
||||
error ->
|
||||
Sentry.capture_message("Failed to retrieve invoices from Paddle",
|
||||
extra: %{extra: error}
|
||||
extra: %{extra: inspect(error), params: params, invoices_url: invoices_url()}
|
||||
)
|
||||
|
||||
{:error, :request_failed}
|
||||
|
Loading…
Reference in New Issue
Block a user