Commit af9a4c2b9d6ad30e088becec499911c4c6fca513
1 parent
7eb15321
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
uncomment catcher for log
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
lib/noosfero/api/api.rb
... | ... | @@ -11,9 +11,9 @@ module Noosfero |
11 | 11 | logger.formatter = GrapeLogging::Formatters::Default.new |
12 | 12 | use GrapeLogging::Middleware::RequestLogger, { logger: logger } |
13 | 13 | |
14 | - #rescue_from :all do |e| | |
15 | - # logger.error e | |
16 | - #end | |
14 | + rescue_from :all do |e| | |
15 | + logger.error e | |
16 | + end | |
17 | 17 | |
18 | 18 | @@NOOSFERO_CONF = nil |
19 | 19 | def self.NOOSFERO_CONF | ... | ... |