lib/theatre/invocation.rb in adhearsion-1.0.3 vs lib/theatre/invocation.rb in adhearsion-1.1.0
- old
+ new
@@ -60,11 +60,9 @@
@callback.call
else
@callback.call @payload
end
with_state_lock { @current_state = :success }
- rescue => @error
- with_state_lock { @current_state = :error }
ensure
@finished_time = Time.now.freeze
end
end