#Can't find any documentation around retries. What's the best way to retry a function?

1 messages · Page 1 of 1 (latest)

topaz isle
#

So far the only option I got is to call the dagger function again using the CLI, but this is not ideal. I'd like to express the retry strategy with my dagger code.

topaz isle
#

@pine hamlet Can you give me a hand here also? Thank you!

pine hamlet
topaz isle
#

When I catch the exception thrown the retries fail instantly, as if it was not possible to call the dagger func again after it failed.

pine hamlet
pine hamlet
#

@topaz isle gentle ping