lib/bolt/transport/base.rb in bolt-1.0.0 vs lib/bolt/transport/base.rb in bolt-1.1.0
- old
+ new
@@ -58,10 +58,10 @@
def with_events(target, callback)
callback&.call(type: :node_start, target: target)
result = begin
yield
- rescue StandardError => ex
+ rescue StandardError, NotImplementedError => ex
Bolt::Result.from_exception(target, ex)
end
callback&.call(type: :node_result, result: result)
result