Verified Commit 49676fcc authored by Fabio Manganiello's avatar Fabio Manganiello
Browse files

Don't fail hard if the Zeroconf service can't be registered

parent 6c0a8bf2
Pipeline #88 passed with stages
in 5 minutes and 51 seconds
......@@ -402,7 +402,11 @@ class HttpBackend(Backend):
def run(self):
super().run()
self.register_service(port=self.port)
try:
self.register_service(port=self.port)
except Exception as e:
self.logger.warning('Could not register the Zeroconf service')
self.logger.exception(e)
if not self.disable_websocket:
self.logger.info('Initializing websocket interface')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment