mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Some changes with config files on Windows.
This commit is contained in:
1 parent
0e8b8fa66f
commit
84870bf736
3 files changed
+10
-4
No files matched your search
+6
-1
@@ -171,7 +171,12 @@ def main():
|
||||
host = server_config["host"]
|
||||
port = int(server_config["port"])
|
||||
server = Server(host, port)
|
||||
server.run()
|
||||
try:
|
||||
server.run()
|
||||
except Exception as e:
|
||||
log.critical("Critical error while running the server: {}".format(e), exc_info=1)
|
||||
# TODO: send exception to Sentry
|
||||
return
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in new issue
Block a user