Enable Sentry

This commit is contained in:
Claudio Ortolina
2025-10-01 13:34:09 +03:00
parent 67341f3ceb
commit 4c33d3f0aa
8 changed files with 53 additions and 0 deletions
+4
View File
@@ -9,6 +9,10 @@ defmodule MusicLibrary.Application do
@impl true
def start(_type, _args) do
:logger.add_handler(:my_sentry_handler, Sentry.LoggerHandler, %{
config: %{metadata: [:file, :line]}
})
_ = Assets.Cache.new()
children = [