Update decrypt-db.py (#87)
Add error output for try block of do_decrypt
This commit is contained in:
+2
-1
@@ -181,7 +181,8 @@ if __name__ == "__main__":
|
||||
logger.info(f"Trying key {key} ...")
|
||||
try:
|
||||
do_decrypt(args.input, output_file, key)
|
||||
except:
|
||||
except Exception as error:
|
||||
logger.warning(f"An unexpected error occurred.{error}")
|
||||
pass
|
||||
else:
|
||||
logger.info(f"Database dumped to {output_file}")
|
||||
|
||||
Reference in New Issue
Block a user