From f4feac0d6b5e11014cdbe6abbc62693b4225614b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 25 Aug 2025 14:10:11 +0200 Subject: [PATCH] logmanager: fix exceptions in python docs --- pkgs/clan-cli/clan_lib/log_manager/api.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/clan-cli/clan_lib/log_manager/api.py b/pkgs/clan-cli/clan_lib/log_manager/api.py index 07dce6767..22c5eca64 100644 --- a/pkgs/clan-cli/clan_lib/log_manager/api.py +++ b/pkgs/clan-cli/clan_lib/log_manager/api.py @@ -13,8 +13,7 @@ def list_log_days() -> list[str]: A list of date strings in YYYY-MM-DD format representing all available log days. Raises: - AssertionError: If LOG_MANAGER_INSTANCE is not initialized. - + ClanError: If LOG_MANAGER_INSTANCE is not initialized. """ if LOG_MANAGER_INSTANCE is None: msg = "LOG_MANAGER_INSTANCE is not initialized" @@ -37,7 +36,7 @@ def list_log_groups( A list of folder names (decoded) at the specified path level. Raises: - AssertionError: If LOG_MANAGER_INSTANCE is not initialized. + ClanError: If LOG_MANAGER_INSTANCE is not initialized. """ if LOG_MANAGER_INSTANCE is None: @@ -63,9 +62,7 @@ def get_log_file( The contents of the log file as a string. Raises: - ClanError: If the log file is not found. - AssertionError: If LOG_MANAGER_INSTANCE is not initialized. - + ClanError: If the log file is not found or LOG_MANAGER_INSTANCE is not initialized. """ if LOG_MANAGER_INSTANCE is None: msg = "LOG_MANAGER_INSTANCE is not initialized"