added general exception handler

This commit is contained in:
navjot 2021-01-12 23:10:03 +05:30
parent 5fb8692eb6
commit 09439b4a0d
No known key found for this signature in database
GPG Key ID: 9EE70AFD71357F1C

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))