Skip to content

Commit

Permalink
Add rollbar_environment runtime config variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Betree committed Nov 23, 2018
1 parent 63f3b2c commit 10fdf5f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rel/runtime_config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ frontend_url = String.trim_trailing(load_secret.("frontend_url")) <> "/"
rollbar_access_token = load_secret.({"rollbar_access_token", nil})

if rollbar_access_token do
config :rollbax, enabled: true, access_token: rollbar_access_token
config :rollbax,
enabled: true,
access_token: rollbar_access_token,
environment: load_secret.({"rollbar_environment", "production"})
end

# ---- [APP CONFIG] :db ----
Expand Down

0 comments on commit 10fdf5f

Please sign in to comment.