fix: catch execution context errors

This commit is contained in:
2023-12-08 20:40:14 -06:00
parent 1a2c4828fd
commit f33c704385

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