Hi, we are using `ArgoEvent.safe_publish` to trig...
# ask-metaflow
f
Hi, we are using
ArgoEvent.safe_publish
to trigger another flow. We saw there was some json serialisation error and hence it failed to publish the event. We are running this inside another
step
. We thought any error thrown during
safe_publish
should lead to the
step
failing but it didn't. Is it an intended behaviour or a bug?
✅ 1
l
Hi @fast-vr-44972 -
safe_publish
by default suppresses errors. If you’d like a failure to raise an error, you can do
ArgoEvent.safe_publish(payload, ignore_errors = False)
thankyou 3