Skip to content

Commit

Permalink
fix Sentry init x2
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed Dec 17, 2024
1 parent 1756689 commit e74b300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plausible/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit e74b300

Please sign in to comment.