Link Sentry to telemetry

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-04-20 15:07:38 +02:00
parent d98e68203e
commit 118175db3e
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -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