You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The call to the solver.decodeReCaptcha method is missing an await keyword, so any error in it (e.g. 504 Gateway error) will not be caught as expected and will lead to unhandledRejection in the NodeJS process.
After adding the await keyword (and the async keyword on the returned method), an error is thrown as expected, but the end result object that is returned to the client, has the Captcha in the solved array in addition to the error property, which is not consistent with the behavior of the puppeteer-extra-plugin-recaptcha. Expected behavior is that the solved array will be empty when an error is thrown.
The text was updated successfully, but these errors were encountered:
The call to the
solver.decodeReCaptcha
method is missing anawait
keyword, so any error in it (e.g. 504 Gateway error) will not be caught as expected and will lead tounhandledRejection
in the NodeJS process.After adding the
await
keyword (and theasync
keyword on the returned method), an error is thrown as expected, but the end result object that is returned to the client, has the Captcha in thesolved
array in addition to theerror
property, which is not consistent with the behavior of thepuppeteer-extra-plugin-recaptcha
. Expected behavior is that thesolved
array will be empty when an error is thrown.The text was updated successfully, but these errors were encountered: