added missing raise SystemExit()
This commit is contained in:
parent
a60cd1d475
commit
81e061af30
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,6 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
await self.analytics_manager.send_server_startup_error(str(e))
|
await self.analytics_manager.send_server_startup_error(str(e))
|
||||||
raise SystemExit()
|
raise SystemExit()
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await self.initialize()
|
await self.initialize()
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
|
@ -441,6 +440,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
await self.analytics_manager.send_server_startup_error(str(e))
|
await self.analytics_manager.send_server_startup_error(str(e))
|
||||||
log.exception('Failed to start lbrynet')
|
log.exception('Failed to start lbrynet')
|
||||||
|
raise SystemExit()
|
||||||
|
|
||||||
await self.analytics_manager.send_server_startup_success()
|
await self.analytics_manager.send_server_startup_success()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue