aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/share_lock_test.rb
diff options
context:
space:
mode:
authorGenadi Samokovarov <gsamokovarov@gmail.com>2016-10-28 22:54:16 +0300
committerGenadi Samokovarov <gsamokovarov@gmail.com>2016-10-28 23:53:06 +0300
commitf99c37583dab9e1a6d8a67a407def0b2408df706 (patch)
tree8f91afe37119049145d6b1efef48caab1c07912d /activesupport/test/share_lock_test.rb
parent83776676e54b387fc52081ff31cfd7710bae9e03 (diff)
downloadrails-f99c37583dab9e1a6d8a67a407def0b2408df706.tar.gz
rails-f99c37583dab9e1a6d8a67a407def0b2408df706.tar.bz2
rails-f99c37583dab9e1a6d8a67a407def0b2408df706.zip
Support plain loggers in DebugExceptions
I have been seeing people setting `Logger` instances for `config.logger` and it blowing up on `rails/web-console` usage. Now, I doubt many folks are manually setting `ActionView::Base.logger`, but given that `DebugExceptions` is running in a pretty fragile environment already, having it crash (and being silent) in those cases can be pretty tricky to trace down. I'm proposing we verify whether the `ActionView::Base.logger` supports silencing before we try to do it, to save us the headache of tracing it down.
Diffstat (limited to 'activesupport/test/share_lock_test.rb')
0 files changed, 0 insertions, 0 deletions