lib/lambda_punch/worker.rb in lambda_punch-0.0.6 vs lib/lambda_punch/worker.rb in lambda_punch-0.0.7
- old
+ new
@@ -29,10 +29,10 @@
# A safe and resilient way to call the remote queue.
#
def call_queue
queue.call
rescue DRb::DRbConnError
- logger.error "Worker#call_queue => DRb::DRbConnError"
+ LambdaPunch.logger.error "Worker#call_queue => DRb::DRbConnError"
new_drb_queue
queue.call
end
private