From 423c04d8704071e7fe8775ca5b406179cc2ec8c4 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 13 Oct 2024 23:45:03 -0700 Subject: [PATCH] fix --- sweebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweebot.py b/sweebot.py index 7b2f910..1c4c795 100644 --- a/sweebot.py +++ b/sweebot.py @@ -591,7 +591,7 @@ while True: multiline("(" + nick + ") [HTTP " + str(e.status_code) + "]", channel) except rex.SSLError as ex: multiline("(" + nick + ") [SSL Error: " + str(ex.message) + "]", channel) - except: + except Exception as ex: multiline("(" + nick + ") [Request error: " + str(ex.message) + "]", channel) elif i[:7] == "http://": e = get(i, headers=headers, timeout=10)