lib/gb_dispatch/runner.rb in gb_dispatch-0.0.5 vs lib/gb_dispatch/runner.rb in gb_dispatch-0.0.6

- old
+ new

@@ -38,10 +38,10 @@ rescue Exception => e if defined?(Opbeat) Opbeat.set_context extra: {queue: name} if name Opbeat.capture_exception(e) end - GBDispatch.logger.error "Failed execution of queue #{name} with error #{e.message}" if GBDispatch.logger + GBDispatch.logger.error "Failed execution of queue #{name} with error #{e.message}" raise e end end future.execute future.value