Skip to content

Commit 6963196

Browse files
committed
fix(Error): ignore turnstile retriable error codes
backports 57fa4a6
1 parent 1b16e43 commit 6963196

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/composables/Error.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ const ignoreErrors = [
144144
/Network Error/,
145145
/Non-Error (?:exception|promise rejection) captured/,
146146
/ResizeObserver loop/,
147-
/Can't find variable: gmo/
147+
/Can't find variable: gmo/,
148+
/\[Cloudflare Turnstile\] Error: (?:10[2-46]|1106[02]|[36]00)/
148149
]
149150

150151
export function useErrorHandler({

0 commit comments

Comments
 (0)