add sentry

This commit is contained in:
2021-10-20 14:21:25 +02:00
parent 6746119b20
commit 258470ee56
4 changed files with 27 additions and 2 deletions
+12
View File
@@ -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