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)