fix: Logging and Commenting

This commit is contained in:
ishaansehgal99
2025-03-20 13:59:43 -07:00
parent 8ec6067b26
commit 52d4312c9a

View File

@ -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