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"