From 118175db3eca600b3598862ec9c0c37ec821deea Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 20 Apr 2021 15:07:38 +0200 Subject: [PATCH] Link Sentry to telemetry Signed-off-by: Thomas Citharel --- lib/mobilizon.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/mobilizon.ex b/lib/mobilizon.ex index a1ca09962..d07059dd8 100644 --- a/lib/mobilizon.ex +++ b/lib/mobilizon.ex @@ -66,6 +66,8 @@ defmodule Mobilizon do ] ++ task_children(@env) + Logger.add_backend(Sentry.LoggerBackend) + :ok = Oban.Telemetry.attach_default_logger() Supervisor.start_link(children, strategy: :one_for_one, name: Mobilizon.Supervisor) end