aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/queueing.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/queueing.rb')
-rw-r--r--activesupport/lib/active_support/queueing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/queueing.rb b/activesupport/lib/active_support/queueing.rb
index 0a4ab05b78..7c352886f3 100644
--- a/activesupport/lib/active_support/queueing.rb
+++ b/activesupport/lib/active_support/queueing.rb
@@ -126,7 +126,7 @@ module ActiveSupport
end
def handle_exception(job, exception)
- raise unless @logger
+ raise exception unless @logger
@logger.error "Job Error: #{exception.message}\n#{exception.backtrace.join("\n")}"
end
end