aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-01-20 11:46:12 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-01-20 11:57:07 -0800
commit04241f38f61a4cd91e4f9bd5378d30b3e2b8db00 (patch)
tree1cf4c9139acbcc940845245dac531513cb3ce72b /activesupport/lib
parentd42b3d4347547b7790d0a716e7548baccf408076 (diff)
downloadrails-04241f38f61a4cd91e4f9bd5378d30b3e2b8db00.tar.gz
rails-04241f38f61a4cd91e4f9bd5378d30b3e2b8db00.tar.bz2
rails-04241f38f61a4cd91e4f9bd5378d30b3e2b8db00.zip
added the backtrace so errors can be found
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/log_subscriber.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/log_subscriber.rb b/activesupport/lib/active_support/log_subscriber.rb
index 6296c1d4b8..a4f0a2a2ea 100644
--- a/activesupport/lib/active_support/log_subscriber.rb
+++ b/activesupport/lib/active_support/log_subscriber.rb
@@ -92,7 +92,7 @@ module ActiveSupport
begin
send(method, ActiveSupport::Notifications::Event.new(message, *args))
rescue Exception => e
- logger.error "Could not log #{message.inspect} event. #{e.class}: #{e.message}"
+ logger.error "Could not log #{message.inspect} event. #{e.class}: #{e.message} #{e.backtrace}"
end
end