Commit 397ea672b30f176e24a6a1627a125473b3d836cf
1 parent
a08269f9
Exists in
master
and in
1 other branch
Fixed new display_internal_errors setting - environments/production.rb doesn't h…
…ave access to config yet
Showing
2 changed files
with
4 additions
and
1 deletions
Show diff stats
config/environments/production.rb
... | ... | @@ -6,7 +6,7 @@ Errbit::Application.configure do |
6 | 6 | config.cache_classes = true |
7 | 7 | |
8 | 8 | # Shows or hides all error details if something goes wrong inside Errbit |
9 | - config.consider_all_requests_local = Errbit::Config.display_internal_errors | |
9 | + config.consider_all_requests_local = false | |
10 | 10 | # Caching is turned on |
11 | 11 | config.action_controller.perform_caching = true |
12 | 12 | ... | ... |
config/initializers/_load_config.rb