mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-03 04:44:05 +00:00
Imported 2.719.4
No reason for CPC update specified.
This commit is contained in:
parent
0ec9f393ff
commit
f30766fccc
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
livecd-rootfs (2.719.4) hirsute; urgency=medium
|
||||
|
||||
[ Thomas Bechtold ]
|
||||
* magic-proxy: fix exception handling for URLError (LP: #1946520)
|
||||
|
||||
-- Brian Murray <brian@ubuntu.com> Thu, 18 Nov 2021 15:25:42 -0800
|
||||
|
||||
livecd-rootfs (2.719.3) hirsute; urgency=medium
|
||||
|
||||
[ Thomas Bechtold ]
|
||||
|
@ -883,8 +883,10 @@ class ProxyingHTTPRequestHandler(http.server.BaseHTTPRequestHandler):
|
||||
self.__send_response(e)
|
||||
except urllib.error.URLError as e:
|
||||
self.log_message(
|
||||
"urlopen() failed for {} with {}".format(uri, e.reason))
|
||||
self.send_error(501, e.reason)
|
||||
"urlopen() failed for {} with {}".format(uri, str(e.reason)))
|
||||
# URLError.reason can either be a string or another Exception
|
||||
# So do convert it to a string before sending the error (LP: #1946520)
|
||||
self.send_error(501, str(e.reason))
|
||||
|
||||
|
||||
def __get_host_path(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user