Link Sentry to telemetry
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d98e68203e
commit
118175db3e
|
@ -66,6 +66,8 @@ defmodule Mobilizon do
|
||||||
] ++
|
] ++
|
||||||
task_children(@env)
|
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)
|
Supervisor.start_link(children, strategy: :one_for_one, name: Mobilizon.Supervisor)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue