Skip to content

Commit

Permalink
If unable to archive channel, don't fatally error
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Aug 17, 2023
1 parent 24c25e7 commit ade3444
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/interactions/trigger/updateBreakouts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ade3444

Please sign in to comment.