mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
More debug for the interfaces up crash debug
This commit is contained in:
1 parent
525940ee15
commit
36d5049c61
2 files changed
+5
-2
No files matched your search
@@ -100,11 +100,13 @@ def is_interface_up(interface):
|
||||
return True
|
||||
return False
|
||||
except OSError as e:
|
||||
raise aiohttp.web.HTTPInternalServerError(text="Exception when checking if {} is up: {}".format(interface, e))
|
||||
raise e
|
||||
#raise aiohttp.web.HTTPInternalServerError(text="Exception when checking if {} is up: {}".format(interface, e))
|
||||
else:
|
||||
#TODO: Windows & OSX support
|
||||
# TODO: Windows & OSX support
|
||||
return True
|
||||
|
||||
|
||||
def interfaces():
|
||||
"""
|
||||
Gets the network interfaces on this server.
|
||||
|
||||
Reference in new issue
Block a user