Skip to content

Commit 539e2e2

Browse files
committed
Skip RECAPTCHA_CHECK_ error reporting
1 parent 4e12295 commit 539e2e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/RPCErrorException.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ public static function isBad(string $error, int $code, string $method): bool
151151
|| str_contains($error, 'INPUT_FETCH_ERROR_')
152152
|| str_contains($error, 'https://telegram.org/dl')
153153
|| str_starts_with($error, 'Received bad_msg_notification')
154+
|| str_starts_with($error, 'RECAPTCHA_CHECK_')
154155
|| str_starts_with($error, 'No workers running')
155156
|| str_starts_with($error, 'FLOOD_TEST_PHONE_WAIT_')
156157
|| str_starts_with($error, 'All workers are busy. Active_queries ')

0 commit comments

Comments
 (0)