From a607d8f21343ca05e74a264c0a3b83781726ec7b Mon Sep 17 00:00:00 2001 From: Daulet Amirkhanov Date: Thu, 2 Oct 2025 17:18:39 +0100 Subject: [PATCH] temp commit --- cognee/cli/commands/delete_command.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cognee/cli/commands/delete_command.py b/cognee/cli/commands/delete_command.py index 46cf41367..30e503022 100644 --- a/cognee/cli/commands/delete_command.py +++ b/cognee/cli/commands/delete_command.py @@ -8,6 +8,10 @@ import cognee.cli.echo as fmt from cognee.cli.exceptions import CliCommandException, CliCommandInnerException from cognee.modules.data.methods.get_deletion_counts import get_deletion_counts +from cognee.shared.logging_utils import get_logger + +logger = get_logger() + class DeleteCommand(SupportsCliCommand): command_string = "delete" @@ -109,4 +113,5 @@ Be careful with deletion operations as they are irreversible. except Exception as e: if isinstance(e, CliCommandInnerException): raise CliCommandException(str(e), error_code=1) + logger.error(f"{str(e)}", exc_info=True) raise CliCommandException(f"Error deleting data: {str(e)}", error_code=1)