reverted enclosing system start in exception handler

This commit is contained in:
Blake Harnden 2019-06-06 11:43:39 -07:00
parent e59a8bf66d
commit 0b770d8350

View file

@ -65,6 +65,9 @@ def cored(cfg, use_ovs):
if use_ovs:
from core.netns.openvswitch import OVS_NODES
server.coreemu.update_nodes(OVS_NODES)
except:
logging.exception("error starting main server on: %s:%s", host, port)
sys.exit(1)
# start udp server
start_udp(server, address)
@ -74,9 +77,6 @@ def cored(cfg, use_ovs):
logging.info("tcp/udp servers started, listening on: %s:%s", host, port)
server.serve_forever()
except:
logging.exception("error starting main server on: %s:%s", host, port)
sys.exit(1)
def get_merged_config(filename):