URI: 
       tlibsecp: log exception if failed to load - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit d8a992e4001a86033b3240626becc52cd5d3c871
   DIR parent 6e5abc049b3334f916f1fddfb6f85c2033204c3f
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Fri, 21 Feb 2020 15:59:18 +0100
       
       libsecp: log exception if failed to load
       
       Diffstat:
         M electrum/ecc_fast.py                |       7 ++++---
       
       1 file changed, 4 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/electrum/ecc_fast.py b/electrum/ecc_fast.py
       t@@ -49,16 +49,17 @@ def load_library():
                library_paths = (os.path.join(os.path.dirname(__file__), 'libsecp256k1.so.0'),
                                 'libsecp256k1.so.0')
        
       +    exceptions = []
            secp256k1 = None
            for libpath in library_paths:
                try:
                    secp256k1 = ctypes.cdll.LoadLibrary(libpath)
       -        except:
       -            pass
       +        except BaseException as e:
       +            exceptions.append(e)
                else:
                    break
            if not secp256k1:
       -        _logger.error('libsecp256k1 library failed to load')
       +        _logger.error(f'libsecp256k1 library failed to load. exceptions: {repr(exceptions)}')
                return None
        
            try: