So I was trying to do some error handling on my fl...
# ask-community
f
So I was trying to do some error handling on my flow in prefect and got to this:
AttributeError: 'Flow' object has no attribute 'submit'
Is this the intended behaviour? What if I want to handle errors of my subflows in a different context?
m
I think Submit is associated with task not flow just check
🫡 1
d
I think flow call accepts
return_state
. You can check the state returned and enact on it?