Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
use inspect sentry workaround (#4918)
ruslandoga481045b81745
diff --git a/lib/plausible/mailer.ex b/lib/plausible/mailer.exindex f7c6acb0cf..fb852f9aed 100644--- a/lib/plausible/mailer.ex+++ b/lib/plausible/mailer.ex@@ -19,17 +19,17 @@ defmodule Plausible.Mailer do{:error, :hard_bounce}{:ok, response} ->- Logger.error("Failed to send e-mail", sentry: %{extra: %{response: response}})+ Logger.error("Failed to send e-mail", sentry: %{extra: %{response: inspect(response)}}){:error, :unknown_error}{:error, _any} ->- Logger.error("Failed to send e-mail", sentry: %{extra: %{response: response}})+ Logger.error("Failed to send e-mail", sentry: %{extra: %{response: inspect(response)}}){:error, :unknown_error}endenddefp handle_error(error) do- Logger.error("Failed to send e-mail", sentry: %{extra: %{response: error}})+ Logger.error("Failed to send e-mail", sentry: %{extra: %{response: inspect(error)}}){:error, :unknown_error}endend