Add exception handling

main
Alexander Neff 2023-12-04 16:15:27 +01:00
parent da603def02
commit 796e49e86b
1 changed files with 4 additions and 1 deletions

View File

@ -155,7 +155,10 @@ class FirefoxTriage:
return b""
db.close()
fh.close()
try:
os.remove(fh.name)
except Exception as e:
self.logger.error(f"Error removing temporary file: {e}")
def is_master_password_correct(self, key_data, master_password=b""):
try: