Skip to content

Commit

Permalink
Inspect extra sentry payload for get_invoices/1 failure (#2248)
Browse files Browse the repository at this point in the history
* Inspect extra sentry payload for get_invoices/1 failure

* Include params and invoices url in paddle trace
  • Loading branch information
aerosol authored Sep 20, 2022
1 parent 669091f commit 30b79e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plausible/billing/paddle_api.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 30b79e5

Please sign in to comment.