fix: catch execution context errors

This commit is contained in:
orion 2023-12-08 20:40:14 -06:00
parent 1a2c4828fd
commit f33c704385
Signed by: orion
GPG Key ID: 6D4165AE4C928719

View File

@ -56,7 +56,7 @@ promiseToAff work =
shouldRetry e =
any
(\retryErr -> String.includes retryErr $ String.trim (Error.message e))
(\retryErr -> String.includes retryErr $ String.toLower $ String.trim $ Error.message e)
retryErrorsMatching
attempt = do