Skip to content

Commit 37f820a

Browse files
committed
feat: support different sentry
1 parent 7e62db6 commit 37f820a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/prod.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ config Librecov.Plug.Github,
4040

4141
config :sentry,
4242
dsn: System.get_env("SENTRY_DSN"),
43-
environment_name: :prod,
43+
environment_name: System.get_env("RELEASE_LEVEL") || :prod,
4444
enable_source_code_context: true,
4545
root_source_code_path: File.cwd!(),
4646
tags: %{

0 commit comments

Comments
 (0)