lib/spontaneous/simultaneous.rb in spontaneous-0.2.0.beta1 vs lib/spontaneous/simultaneous.rb in spontaneous-0.2.0.beta2
- old
+ new
@@ -23,10 +23,10 @@
::Simultaneous.add_task(task_name, binary(task), options, params, env)
end
def fire(task_name, params = {})
::Simultaneous.fire(task_name, params)
- rescue Exception => e
+ rescue => e
raise Error, e
end
def spot_binary
::Spontaneous.config.spontaneous_binary || default_spot_binary