From 438161c2b94f9bcdb73bf568ca47df590aa91407 Mon Sep 17 00:00:00 2001 From: Nick Ninov Date: Mon, 29 Jun 2026 22:48:22 +0300 Subject: [PATCH] bug: No backup file found - Replace custom exception with logger message --- bot/account.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot/account.py b/bot/account.py index 2f030ec..c1b0693 100644 --- a/bot/account.py +++ b/bot/account.py @@ -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: