logmanager: fix exceptions in python docs
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user