lib/celluloid/call/async.rb in celluloid-0.18.0.pre vs lib/celluloid/call/async.rb in celluloid-0.18.0.pre2
- old
+ new
@@ -5,10 +5,12 @@
def dispatch(obj)
Internals::CallChain.current_id = Celluloid.uuid
super(obj)
rescue AbortError => ex
# Swallow aborted async calls, as they indicate the sender made a mistake
+ # rubocop:disable Metrics/LineLength
Internals::Logger.debug("#{obj.class}: async call `#{@method}` aborted!\n#{Internals::Logger.format_exception(ex.cause)}")
+ # rubocop:enable Metrics/LineLength
ensure
Internals::CallChain.current_id = nil
end
end
end