lib/pione/command/pione-task-worker.rb in pione-0.1.0 vs lib/pione/command/pione-task-worker.rb in pione-0.1.1
- old
+ new
@@ -54,10 +54,13 @@
# get the parent front server
begin
@parent_front.uuid
rescue => e
- abort("pione-task-worker cannot get the parent front server: %s" % e)
+ if Pione.debug_mode?
+ debug_message "pione-task-worker cannot get the parent front server: %s" % e
+ end
+ abort
end
end
def prepare
super