1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Fix RuntimeError: File size has increased during compressing

Fix #858
This commit is contained in:
Julien Duponchelle 2017-01-09 10:20:14 +01:00
parent 5c8193556d
commit 688122c467
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -304,7 +304,8 @@ class ProjectHandler:
yield from response.write_eof()
# Will be raise if you have no space left or permission issue on your temporary directory
except OSError as e:
# RuntimeError: something was wrong during the zip process
except (OSError, RuntimeError) as e:
raise aiohttp.web.HTTPNotFound(text="Can't export project: {}".format(str(e)))
@Route.post(