1
1
mirror of https://github.com/Burn-E99/TheArtificer.git synced 2026-01-08 05:17:54 -05:00

add catches to all messages

This commit is contained in:
Ean Milligan (Bastion)
2022-06-22 02:06:50 -04:00
parent dba1976a8e
commit bff208d560
2 changed files with 11 additions and 3 deletions

View File

@ -47,6 +47,8 @@ const handleRollWorker = async (rq: QueuedRoll) => {
<RollModifiers> {},
)).embed,
],
}).catch((e) => {
log(LT.ERROR, `Failed to edit message: ${JSON.stringify(rq.dd.m)} | ${JSON.stringify(e)}`);
});
}
}, config.limits.workerTimeout);