Catch exception: ZIP does not support timestamps before 1980. Ref #1360.

This commit is contained in:
grossmj committed 2018-07-26 13:34:23 -05:00
1 parent e20e885d44
commit d0ed6931d8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ class UDPLink(Link):
try:
(node1_host, node2_host) = yield from node1.compute.get_ip_on_same_subnet(node2.compute)
except ValueError as e:
raise aiohttp.web.HTTPConflict(text=str(e))
raise aiohttp.web.HTTPConflict(text="Cannot get an IP address on same subnet: {}".format(e))
# Reserve a UDP port on both side
response = yield from node1.compute.post("/projects/{}/ports/udp".format(self._project.id))