Set dontconnect in helper_startup.start_proxyconfig() if plugin fail

instead of exiting.
This commit is contained in:
Dmitri Bogomolov 2021-06-12 18:49:53 +03:00
parent 5b4574e9c6
commit 297989de07
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -320,7 +320,7 @@ def start_proxyconfig():
logger.error( logger.error(
'Failed to run proxy config plugin %s', 'Failed to run proxy config plugin %s',
proxy_type, exc_info=True) proxy_type, exc_info=True)
os._exit(0) # pylint: disable=protected-access config.setTemp('bitmessagesettings', 'dontconnect', 'true')
else: else:
logger.info( logger.info(
'Started proxy config plugin %s in %s sec', 'Started proxy config plugin %s in %s sec',