From 030d1ec25470634f8b0cf7a054bd101aa5c2c20a Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 9 Aug 2021 01:15:51 +0200 Subject: [PATCH] no wait thats too much --- copyparty/httpcli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index eb12b48e..a6f49a37 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -234,7 +234,9 @@ class HttpCli(object): if not self._check_nonfatal(pex, post): 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 = "
{}\r\nURL: {}\r\n".format(str(ex), self.vpath)
                 if self.hint:
                     msg += "hint: {}\r\n".format(self.hint)