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

Fix an error when handling ubridge errors

Fix #933
This commit is contained in:
Julien Duponchelle 2017-03-13 16:57:24 +01:00
parent 9ef334331e
commit 0dc38a3970
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -174,7 +174,7 @@ class Hypervisor(UBridgeHypervisor):
except (OSError, PermissionError, subprocess.SubprocessError) as e: except (OSError, PermissionError, subprocess.SubprocessError) as e:
ubridge_stdout = self.read_stdout() ubridge_stdout = self.read_stdout()
log.error("Could not start ubridge: {}\n{}".format(e, ubridge_stdout)) log.error("Could not start ubridge: {}\n{}".format(e, ubridge_stdout))
raise UBridgeHypervisor("Could not start ubridge: {}\n{}".format(e, ubridge_stdout)) raise UbridgeError("Could not start ubridge: {}\n{}".format(e, ubridge_stdout))
def _termination_callback(self, returncode): def _termination_callback(self, returncode):
""" """