From c35942c12ba92a03e7fca1c89a0d72d322adffd2 Mon Sep 17 00:00:00 2001 From: Benedict Lee Date: Thu, 24 Apr 2025 11:23:16 +0900 Subject: [PATCH] mprove get_review_thread_comments method implementation Co-authored-by: ofir-frd <85901822+ofir-frd@users.noreply.github.com> --- pr_agent/git_providers/github_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_agent/git_providers/github_provider.py b/pr_agent/git_providers/github_provider.py index a526f594..485d5afe 100644 --- a/pr_agent/git_providers/github_provider.py +++ b/pr_agent/git_providers/github_provider.py @@ -460,7 +460,7 @@ class GithubProvider(GitProvider): return thread_comments except Exception as e: - get_logger().warning(f"Failed to get review comments for comment {comment_id}, error: {e}") + get_logger().exception(f"Failed to get review comments for an inline ask command", artifact={"comment_id": comment_id, "error": e}) return [] def _publish_inline_comments_fallback_with_verification(self, comments: list[dict]):