diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-02-24 16:26:24 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-02-24 16:26:24 -0800 |
commit | 4cd0da5c9a27a4bc99a79d1295d80a2bfb667885 (patch) | |
tree | d18a5312e8babf48b40e9ed7e8d396128b35f953 /activerecord | |
parent | 27ce16aa9b348f32d866a697e1dd6cb061ce0ed2 (diff) | |
parent | 9c28529e71a7d7600b50e8fde2e8eea39dc9eb3f (diff) | |
download | rails-4cd0da5c9a27a4bc99a79d1295d80a2bfb667885.tar.gz rails-4cd0da5c9a27a4bc99a79d1295d80a2bfb667885.tar.bz2 rails-4cd0da5c9a27a4bc99a79d1295d80a2bfb667885.zip |
Merge pull request #19068 from pda/ar-translate-exception-class-no-log
AR: translate_exception_class() no longer logs error.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb index c307189980..ae42e8ef8d 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb @@ -478,7 +478,6 @@ module ActiveRecord message = "#{e.class.name}: #{e.message.force_encoding sql.encoding}: #{sql}" end - @logger.error message if @logger exception = translate_exception(e, message) exception.set_backtrace e.backtrace exception |