mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Raise an error if server flagged as local but should not
If the controller is not started with --local but the server ID is local it's raise an error.
This commit is contained in:
5 files changed
+68
-13
No files matched your search
@@ -20,7 +20,7 @@ class VMError(Exception):
|
||||
|
||||
def __init__(self, message, original_exception=None):
|
||||
|
||||
Exception.__init__(self, message)
|
||||
super().__init__(message)
|
||||
if isinstance(message, Exception):
|
||||
message = str(message)
|
||||
self._message = message
|
||||
|
||||
Reference in new issue
Block a user