mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Catch exceptions in various locations to fix small issues reported by Sentry.
This commit is contained in:
1 parent
341e2e2e3a
commit
4021a13651
8 files changed
+63
-40
No files matched your search
@@ -871,7 +871,7 @@ class Project:
|
||||
try:
|
||||
if os.path.exists(path + ".backup"):
|
||||
shutil.copy(path + ".backup", path)
|
||||
except (PermissionError, OSError):
|
||||
except OSError:
|
||||
pass
|
||||
self._status = "closed"
|
||||
self._loading = False
|
||||
|
||||
Reference in new issue
Block a user