提交 008eaebb 编写于 作者: S Santiago Pastorino

Raise the same exception the code is handling

上级 0e288ec9
......@@ -126,7 +126,7 @@ def run(job)
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册