From 52d4312c9a3050817f8e87cb6a2aba4a04a366d8 Mon Sep 17 00:00:00 2001 From: ishaansehgal99 Date: Thu, 20 Mar 2025 13:59:43 -0700 Subject: [PATCH] fix: Logging and Commenting --- pr_agent/servers/github_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_agent/servers/github_app.py b/pr_agent/servers/github_app.py index d460c2b2..09a52132 100644 --- a/pr_agent/servers/github_app.py +++ b/pr_agent/servers/github_app.py @@ -233,7 +233,7 @@ def get_log_context(body, event, action, build_number): "request_id": uuid.uuid4().hex, "build_number": build_number, "app_name": app_name, "repo": repo, "git_org": git_org, "installation_id": installation_id} except Exception as e: - get_logger().error(f"Error parsing request body: {e}") + get_logger().error(f"Failed to get log context: {e}") log_context = {} return log_context, sender, sender_id, sender_type