mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-03 12:20:38 +08:00
fix: Logging and Commenting
This commit is contained in:
@ -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,
|
"request_id": uuid.uuid4().hex, "build_number": build_number, "app_name": app_name,
|
||||||
"repo": repo, "git_org": git_org, "installation_id": installation_id}
|
"repo": repo, "git_org": git_org, "installation_id": installation_id}
|
||||||
except Exception as e:
|
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 = {}
|
log_context = {}
|
||||||
return log_context, sender, sender_id, sender_type
|
return log_context, sender, sender_id, sender_type
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user