https://prefect.io logo
Title
d

Donnchadh McAuliffe

02/24/2022, 5:12 PM
Hey guys, with regards to retrying tasks on specific exceptions, is the current solution still this? https://github.com/PrefectHQ/prefect/discussions/4956 (similar question asked here)
k

Kevin Kho

02/24/2022, 5:15 PM
Yes that is still the solution. The code snippet by tonal in the first link
d

Donnchadh McAuliffe

02/24/2022, 5:17 PM
thanks Kevin, is this something ye might consider adding? something like this:
@task(retries=2, retry_delay_seconds=10, retry_on_exception=[list_of_exceptions])
k

Kevin Kho

02/24/2022, 5:20 PM
I think we would accept a PR for it, but not in the immediate roadmap considering Orion development……
d

Donnchadh McAuliffe

02/24/2022, 5:23 PM
understandable, thanks for the info