forked from platypush/platypush
Don't fail hard if the Zeroconf service can't be registered
This commit is contained in:
parent
6c0a8bf259
commit
49676fcc7f
1 changed files with 5 additions and 1 deletions
|
@ -402,7 +402,11 @@ class HttpBackend(Backend):
|
|||
|
||||
def run(self):
|
||||
super().run()
|
||||
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')
|
||||
|
|
Loading…
Reference in a new issue