Fix eslint no-unused-vars in async handlers
This commit is contained in:
parent
3fd861f134
commit
52895fd991
3 changed files with 24 additions and 24 deletions
4
gog.js
4
gog.js
|
|
@ -69,7 +69,7 @@ try {
|
|||
await iframe.locator('#second_step_authentication_token_letter_1').pressSequentially(otp.toString(), { delay: 10 });
|
||||
await iframe.locator('#second_step_authentication_send').click();
|
||||
await page.waitForTimeout(1000);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return;
|
||||
}
|
||||
})();
|
||||
|
|
@ -78,7 +78,7 @@ try {
|
|||
await iframe.locator('text=Invalid captcha').waitFor({ timeout: 15000 });
|
||||
console.error('Got a captcha during login (likely due to too many attempts)! You may solve it in the browser, get a new IP or try again in a few hours.');
|
||||
notify('gog: got captcha during login. Please check.');
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return;
|
||||
}
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue