feat: Add debug logs to git_provider and pr_description modules

This commit is contained in:
mrT23
2024-01-07 19:57:49 +02:00
parent 3154ebbf9f
commit 3ea08a6cf5
2 changed files with 5 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class GitProvider(ABC):
def get_user_description(self) -> str:
description = (self.get_pr_description_full() or "").strip()
description_lowercase = description.lower()
get_logger().debug(f"Existing description\n{description}")
get_logger().debug(f"Existing description\n{description_lowercase}")
# if the existing description wasn't generated by the pr-agent, just return it as-is
if not self._is_generated_by_pr_agent(description_lowercase):