Skip to content

Commit 4322e7c

Browse files
Techbot121Meta Construct
authored andcommitted
more error printing
1 parent 87f7c48 commit 4322e7c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/services/gamebridge/payloads/StatusPayload.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ export default class StatusPayload extends Payload {
361361
],
362362
flags: Discord.MessageFlags.IsComponentsV2,
363363
})
364-
.catch(e => console.error("StatusPayload", e));
364+
.catch(e => console.error("StatusPayload: Message edit failed", e));
365365
} else {
366366
channel
367367
.send({
@@ -378,7 +378,9 @@ export default class StatusPayload extends Payload {
378378
})
379379
.catch();
380380
}
381-
} catch {}
381+
} catch (error) {
382+
console.error("StatusPayload", error);
383+
}
382384
};
383385

384386
if (discord.ready && this.retryCount < 5) {

0 commit comments

Comments
 (0)