fix: missing exception and unused import

This commit is contained in:
gabriel cancel 2024-03-01 11:50:40 +01:00
parent 9c37df8494
commit 2f07c5976b
1 changed files with 1 additions and 2 deletions

View File

@ -42,7 +42,6 @@ import os
import re
import struct
import sys
import time
import warnings
__version__='0.0.5'
@ -610,7 +609,7 @@ class keygen:
try:
self.ed25519_seed_bytes_from_duniterpy()
self.ed25519_from_seed_bytes()
except:
except Exception as e:
log.error(f'Unable to get ed25519 from duniterpy: {e}')
self._cleanup()
exit(2)