aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-02-24 16:26:24 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2015-02-24 16:26:24 -0800
commit4cd0da5c9a27a4bc99a79d1295d80a2bfb667885 (patch)
treed18a5312e8babf48b40e9ed7e8d396128b35f953 /activerecord
parent27ce16aa9b348f32d866a697e1dd6cb061ce0ed2 (diff)
parent9c28529e71a7d7600b50e8fde2e8eea39dc9eb3f (diff)
downloadrails-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.rb1
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