This feels like potentially a dumb question, Is there a way to capture the exit code for asService?
I am using the Python SDK for dagger and I would like to fail early in the case that there's a failure in the asService call (or potenitally re-attempt with another asService call). However, I don't see a way to query the exit code. Referencing the Python documentation for Service here.
Maybe if I call Service.sync() will that force an exception that is captureable?