From 26f52b2ac1f8d6208bd017e6c0241e33147f5284 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Fri, 26 Oct 2012 11:29:37 -0700 Subject: Job worker thread logs failed jobs too --- activesupport/lib/active_support/queueing.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/queueing.rb b/activesupport/lib/active_support/queueing.rb index 0631f4e4a8..6de038ee0e 100644 --- a/activesupport/lib/active_support/queueing.rb +++ b/activesupport/lib/active_support/queueing.rb @@ -96,7 +96,7 @@ module ActiveSupport end def handle_exception(job, exception) - @logger.error "Job Error: #{exception.message}\n#{exception.backtrace.join("\n")}" + @logger.error "Job Error: #{job.inspect}\n#{exception.message}\n#{exception.backtrace.join("\n")}" end end end -- cgit v1.2.3