diff options
author | Paul Annesley <paul@annesley.cc> | 2015-02-24 15:44:37 -0800 |
---|---|---|
committer | Paul Annesley <paul@annesley.cc> | 2015-02-24 15:44:37 -0800 |
commit | 9c28529e71a7d7600b50e8fde2e8eea39dc9eb3f (patch) | |
tree | f4dde24b308c1ae96c59f968d8e9aaf5dc76dd5d /activerecord/lib/active_record | |
parent | f4f94081dd1a3e9ff99e17ae88b7d91fcdbb19fc (diff) | |
download | rails-9c28529e71a7d7600b50e8fde2e8eea39dc9eb3f.tar.gz rails-9c28529e71a7d7600b50e8fde2e8eea39dc9eb3f.tar.bz2 rails-9c28529e71a7d7600b50e8fde2e8eea39dc9eb3f.zip |
AR: translate_exception_class() no longer logs error.
Diffstat (limited to 'activerecord/lib/active_record')
-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 |