From ade3444705f841bc6fef992c560c7d65e2062678 Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Thu, 17 Aug 2023 15:12:33 -0400 Subject: [PATCH] If unable to archive channel, don't fatally error --- src/interactions/trigger/updateBreakouts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/interactions/trigger/updateBreakouts.js b/src/interactions/trigger/updateBreakouts.js index 97f498f..b34e510 100644 --- a/src/interactions/trigger/updateBreakouts.js +++ b/src/interactions/trigger/updateBreakouts.js @@ -13,7 +13,8 @@ export default async (bot = initBot(), message) => { { channel: breakout.fields['Breakout Channel ID'] }, (err, res) => { if (err) { - console.error(err) + console.error(`Unable to close channel ID ${breakout.fields['Breakout Channel ID']}:`,err) + return } const { messages } = res