no wait thats too much

This commit is contained in:
ed 2021-08-09 01:15:51 +02:00
parent 5a2b91a084
commit 030d1ec254

View file

@ -234,7 +234,9 @@ class HttpCli(object):
if not self._check_nonfatal(pex, post): if not self._check_nonfatal(pex, post):
self.keepalive = False self.keepalive = False
self.log("{}\033[0m, {}".format(min_ex(), self.vpath), 3) msg = str(ex) if pex == ex else min_ex()
self.log("{}\033[0m, {}".format(msg, self.vpath), 3)
msg = "<pre>{}\r\nURL: {}\r\n".format(str(ex), self.vpath) msg = "<pre>{}\r\nURL: {}\r\n".format(str(ex), self.vpath)
if self.hint: if self.hint:
msg += "hint: {}\r\n".format(self.hint) msg += "hint: {}\r\n".format(self.hint)