Skip to content

Commit

Permalink
update method call to Lograge.lograge_config
Browse files Browse the repository at this point in the history
  • Loading branch information
wjordan committed Aug 16, 2018
1 parent eea2ff7 commit 1ef23fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lograge/rails_ext/action_dispatch/debug_exceptions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def log_error(request, wrapper)
exception: [wrapper.exception.class.name, wrapper.exception.message]
}
ActiveSupport::Notifications.instrument 'process_exception.action_controller', payload
super(request, wrapper) if lograge_config.keep_original_rails_log
super(request, wrapper) if Lograge.lograge_config.keep_original_rails_log
end
end
ActionDispatch::DebugExceptions.prepend DebugExceptions
Expand Down

0 comments on commit 1ef23fb

Please sign in to comment.