add sentry
This commit is contained in:
@@ -22,6 +22,18 @@ config :pokemon_couture, PokemonCoutureWeb.Endpoint,
|
||||
# Do not print debug messages in production
|
||||
config :logger, level: :info
|
||||
|
||||
# sentry config
|
||||
config :sentry,
|
||||
dsn: System.get_env("SENTRY_DSN") || ""
|
||||
environment_name: :prod,
|
||||
enable_source_code_context: true,
|
||||
root_source_code_path: File.cwd!(),
|
||||
tags: %{
|
||||
env: "production"
|
||||
},
|
||||
included_environments: [:prod]
|
||||
|
||||
|
||||
# ## SSL Support
|
||||
#
|
||||
# To get SSL working, you will need to add the `https` key
|
||||
|
||||
Reference in New Issue
Block a user