From 49f0f20d280923eb0162048cc4f39bd920966afe Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Mon, 25 Nov 2024 21:23:27 -0500 Subject: Better logging --- fig-monitor-twitch/src/Fig/Monitor/Twitch.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fig-monitor-twitch/src') diff --git a/fig-monitor-twitch/src/Fig/Monitor/Twitch.hs b/fig-monitor-twitch/src/Fig/Monitor/Twitch.hs index b0f73bd..6ebf145 100644 --- a/fig-monitor-twitch/src/Fig/Monitor/Twitch.hs +++ b/fig-monitor-twitch/src/Fig/Monitor/Twitch.hs @@ -78,7 +78,7 @@ usersAreLive users = do _else -> pure Nothing _else -> mempty case mos of - Left err -> throwM $ FigMonitorTwitchException $ "Failed to check liveness: " <> pack err + Left err -> throwM $ FigMonitorTwitchException $ "Failed to check liveness: " <> pack err <> "\nResponse was: " <> tshow res Right os -> pure . Set.fromList $ filter (`elem` os) users subscribe :: Text -> Text -> Text -> Authed () -- cgit v1.2.3