From 07ab6dd65361d963c16164aa88e188e1d3c1d118 Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Mon, 18 Jul 2022 22:08:22 -0400 Subject: [PATCH] Enable logging on breakout job --- src/interactions/trigger/updateBreakouts.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/interactions/trigger/updateBreakouts.js b/src/interactions/trigger/updateBreakouts.js index 1453201..1ed783b 100644 --- a/src/interactions/trigger/updateBreakouts.js +++ b/src/interactions/trigger/updateBreakouts.js @@ -24,6 +24,7 @@ export default async (bot = initBot(), message) => { Date.now() - parseInt(latestTimestamp.replace('.', '')) / 1000 const overTimeLimit = timeSinceLastUpdate > 1000 * 60 * 1 + console.log({breakout}) // we should close the channel if the last post was @orpheus' warning that archiving is coming if ( overTimeLimit &&