mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 03:08:14 +00:00
parent
5e2b619305
commit
9ef334331e
@ -74,7 +74,7 @@ class Project:
|
|||||||
try:
|
try:
|
||||||
if os.path.exists(self.tmp_working_directory()):
|
if os.path.exists(self.tmp_working_directory()):
|
||||||
shutil.rmtree(self.tmp_working_directory())
|
shutil.rmtree(self.tmp_working_directory())
|
||||||
except OSError:
|
except OSError as e:
|
||||||
raise aiohttp.web.HTTPInternalServerError(text="Could not clean project directory: {}".format(e))
|
raise aiohttp.web.HTTPInternalServerError(text="Could not clean project directory: {}".format(e))
|
||||||
|
|
||||||
log.info("Project {id} with path '{path}' created".format(path=self._path, id=self._id))
|
log.info("Project {id} with path '{path}' created".format(path=self._path, id=self._id))
|
||||||
|
Loading…
Reference in New Issue
Block a user