From cfe0b9653b688fd138e378d887ad882ed490345f Mon Sep 17 00:00:00 2001 From: jacoop Date: Sat, 26 Apr 2025 23:28:36 -0500 Subject: [PATCH] Don't exit for non-fatal errors This page is just a warning because currently update checks are not staggered causing multiple to be sent at once. --- chaturbate/channel.go | 1 - 1 file changed, 1 deletion(-) diff --git a/chaturbate/channel.go b/chaturbate/channel.go index 7ff6784..d6c78fd 100644 --- a/chaturbate/channel.go +++ b/chaturbate/channel.go @@ -103,7 +103,6 @@ func (w *Channel) Run() { } if strings.Contains(body, "Just a moment...") { w.log(logTypeError, "Cloudflare anti-bot page detected, Try providing cf-cookie and user-agent (Check GitHub for instructions)... Exiting") - os.Exit(1) } w.log(logTypeInfo, "channel is offline, check again %d min(s) later", w.Interval) <-time.After(time.Duration(w.Interval) * time.Minute) // minutes cooldown to check online status