1
0
Fork 0
forked from swee/MeowNex
This commit is contained in:
swee 2024-10-13 23:42:39 -07:00
parent 63b26cdb76
commit 0d4fe0f230

View file

@ -590,9 +590,9 @@ while True:
else: else:
multiline("(" + nick + ") [HTTP " + str(e.status_code) + "]", channel) multiline("(" + nick + ") [HTTP " + str(e.status_code) + "]", channel)
except rex.SSLError as ex: except rex.SSLError as ex:
multiline("(" + nick + ") [SSL Error: " + str(ex.__cause__) + "]", channel) multiline("(" + nick + ") [SSL Error: " + str(ex.message) + "]", channel)
except: except:
multiline("(" + nick + ") [Request error:" + str(ex.__cause__) + "]", channel) multiline("(" + nick + ") [Request error: " + str(ex.message) + "]", channel)
elif i[:7] == "http://": elif i[:7] == "http://":
e = get(i, headers=headers, timeout=10) e = get(i, headers=headers, timeout=10)
if e.ok: if e.ok: