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
+6
View File
@@ -100,6 +100,12 @@ config :music_library, MusicLibrary.BackgroundRepo, priv: "priv/background_repo"
config :fluxon, :translate_function, &MusicLibraryWeb.CoreComponents.translate_error/1
config :sentry,
client: Sentry.FinchClient,
environment_name: config_env(),
enable_source_code_context: true,
root_source_code_paths: [File.cwd!()]
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{config_env()}.exs"