added general exception handler

This commit is contained in:
navjot 2021-01-12 23:10:03 +05:30 committed by Muzahid
parent c96f51b193
commit 8763c80bad
Signed by untrusted user: cis-muzahid
GPG Key ID: 1DC85E7D3AB613EA
1 changed files with 3 additions and 0 deletions

View File

@ -316,6 +316,9 @@ def init():
except Exception as e:
logger.error("Error: %s", e, exc_info=True)
bso = None
except Exception as e:
logger.error("Error: %s", e, exc_info=True)
bso = None
else:
try:
bso = ctypes.CDLL(os.path.join(paths.codePath(), "bitmsghash", bitmsglib))