From e74b30008950c99d9822a2110e7a3f4edac491f6 Mon Sep 17 00:00:00 2001 From: ruslandoga <67764432+ruslandoga@users.noreply.github.com> Date: Tue, 17 Dec 2024 19:46:50 +0700 Subject: [PATCH] fix Sentry init x2 --- lib/plausible/application.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plausible/application.ex b/lib/plausible/application.ex index 2c9f34f0f9b4..29d544df07cd 100644 --- a/lib/plausible/application.ex +++ b/lib/plausible/application.ex @@ -171,7 +171,7 @@ defmodule Plausible.Application do end defp maybe_add_sentry_pool(pool_config, default) do - case Sentry.Config.dns() do + case Sentry.Config.dsn() do %Sentry.DSN{endpoint_uri: "http" <> _rest = url} -> Map.put(pool_config, url, Config.Reader.merge(default, size: 50))