Skip to content

Commit d4b3ea0

Browse files
committed
Fix sentry source code
1 parent d3c6954 commit d4b3ea0

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

config/config.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ config :jola_dev, JolaDevWeb.Endpoint,
2121

2222
# Configure esbuild (the version is required)
2323
config :esbuild,
24-
version: "0.17.11",
24+
version: "0.25.0",
2525
jola_dev: [
2626
args:
2727
~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/*),

config/prod.exs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,10 @@ config :jola_dev, JolaDevWeb.Endpoint, cache_static_manifest: "priv/static/cache
1010
# Do not print debug messages in production
1111
config :logger, level: :info
1212

13+
config :sentry,
14+
environment_name: :production,
15+
enable_source_code_context: true,
16+
root_source_code_paths: [File.cwd!()]
17+
1318
# Runtime production configuration, including reading
1419
# of environment variables, is done on config/runtime.exs.

config/runtime.exs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,5 @@ if config_env() == :prod do
5151
secret_key_base: secret_key_base
5252

5353
config :sentry,
54-
dsn: System.fetch_env!("SENTRY_DSN"),
55-
environment_name: :production,
56-
enable_source_code_context: true,
57-
root_source_code_paths: [File.cwd!()]
54+
dsn: System.fetch_env!("SENTRY_DSN")
5855
end

0 commit comments

Comments
 (0)