bug: No backup file found

- Replace custom exception with logger message
This commit is contained in:
Nick Ninov
2026-06-29 22:48:22 +03:00
parent 4c6c4d7c8c
commit 438161c2b9
+2 -1
View File
@@ -1358,7 +1358,8 @@ class Account:
file_name = self.info["compressed_key"][-6:] + "_user_data.bkp"
file_path = os.path.join(folder, self.info["compressed_key"][-6:] + "_user_data.bkp")
if not os.path.exists(file_path):
raise exceptions.BackupError(f"Backup file was not found in {folder}...")
self.logger.warning(f"Backup file was not found in {folder}")
return
sdk_file_path = os.path.join(self.__backup_sdk_folder, file_name)
if sdk_file_path != file_path: