reverted enclosing system start in exception handler
This commit is contained in:
parent
e59a8bf66d
commit
0b770d8350
1 changed files with 9 additions and 9 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue