Skip to content

Commit

Permalink
pg: DLC: ignore timeout if there is no code
Browse files Browse the repository at this point in the history
  • Loading branch information
vogler committed Dec 23, 2023
1 parent e078a15 commit ace4ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prime-gaming.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ try {
dlc_unlinked[unlinked_store] ??= [];
dlc_unlinked[unlinked_store].push(title);
} else {
const code = await page.inputValue('input[type="text"]');
const code = await page.inputValue('input[type="text"]').catch(_ => undefined);
console.log(' Code to redeem game:', chalk.blue(code));
db.data[user][title].code = code;
db.data[user][title].status = 'claimed';
Expand Down

0 comments on commit ace4ef8

Please sign in to comment.