From 09439b4a0da1ed66de314d4a45adb418bb3b0fea Mon Sep 17 00:00:00 2001 From: navjot Date: Tue, 12 Jan 2021 23:10:03 +0530 Subject: [PATCH] added general exception handler --- src/proofofwork.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/proofofwork.py b/src/proofofwork.py index 5b915017..f170aa5f 100644 --- a/src/proofofwork.py +++ b/src/proofofwork.py @@ -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))