Hey all,
I wasn't sure if I found a bug/feature request and was prompted to come here and ask about it before submitting a Issue on Github.
I am running a prefect server locally (prefect version 2.11.5) and am running some flows to understand how exception handling and retries happen in tasks. In my flow, I have a task that will raise an exception 20% of the time and the task is setup to retry on exception up to three times. The flow runs fine but there is an inconsistency with logs locally and on the server.
Locally, when an exception is raised, I see an
ERROR
log for the exception and later a
INFO
log telling me a non-final state was received (AwaitingRetry). Up on the server when checking the logs, the
INFO
log about attempting a retry is non-existent.
Is this excepted behavior? Maybe there are two different loggers being used and only of them is reporting up to the server?