From 9c28529e71a7d7600b50e8fde2e8eea39dc9eb3f Mon Sep 17 00:00:00 2001 From: Paul Annesley Date: Tue, 24 Feb 2015 15:44:37 -0800 Subject: AR: translate_exception_class() no longer logs error. --- activerecord/lib/active_record/connection_adapters/abstract_adapter.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activerecord/lib/active_record/connection_adapters') 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 -- cgit v1.2.3