Open jonnystoten opened 4 years ago
If a module-based job returns :error or {:error, reason}, retry_at is called on the module to determine whether to retry. However, if the job raises or exits because of an error, retry_at is not called on the module so the job is never retried.
:error
{:error, reason}
retry_at
I'm happy to take a look at a PR for this!
@jonnystoten Hi and thanks for the PR!
I've left a comment there. Let's move discussion onto the code :+1:
If a module-based job returns
:error
or{:error, reason}
,retry_at
is called on the module to determine whether to retry. However, if the job raises or exits because of an error,retry_at
is not called on the module so the job is never retried.I'm happy to take a look at a PR for this!