From f33c7043854ae0dd902c4e5932d5c826bc63cc0b Mon Sep 17 00:00:00 2001 From: Orion Kindel Date: Fri, 8 Dec 2023 20:40:14 -0600 Subject: [PATCH] fix: catch execution context errors --- src/Puppeteer.FFI.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Puppeteer.FFI.purs b/src/Puppeteer.FFI.purs index ac3c685..73d1644 100644 --- a/src/Puppeteer.FFI.purs +++ b/src/Puppeteer.FFI.purs @@ -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