Skip to content

Commit a21c680

Browse files
More logging for accepted challenge errors
1 parent 2e910a2 commit a21c680

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/abstractplay.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2623,6 +2623,7 @@ async function respondedChallenge(userid: string, pars: { response: boolean; id:
26232623
const challengeId = pars.id;
26242624
const standing = pars.standing === true;
26252625
const metaGame = pars.metaGame;
2626+
console.log(`Responding to challenge standing = ${standing} ${metaGame}.${challengeId} for user ${userid}: ${response ? "accepted" : "rejected"}`);
26262627
let comment = pars.comment ? pars.comment.trim() : "";
26272628
if (!comment.endsWith(".") && !comment.endsWith("!") && !comment.endsWith("?"))
26282629
comment += ".";

0 commit comments

Comments
 (0)