mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-14 11:55:17 +00:00
Remove redundant condition (status 422 already means the same)
This commit is contained in:
parent
b0bffdec84
commit
2bb5ae8c0d
1 changed files with 0 additions and 1 deletions
|
|
@ -229,7 +229,6 @@ class GithubProvider(GitProvider):
|
||||||
get_logger().error(f"Failed to publish inline comments, error: {e}")
|
get_logger().error(f"Failed to publish inline comments, error: {e}")
|
||||||
if (
|
if (
|
||||||
getattr(e, "status", None) == 422
|
getattr(e, "status", None) == 422
|
||||||
and getattr(e, "data", {}).get("message", None) == "Unprocessable Entity"
|
|
||||||
and get_settings().github.publish_inline_comments_fallback_with_verification
|
and get_settings().github.publish_inline_comments_fallback_with_verification
|
||||||
):
|
):
|
||||||
pass # continue to try _publish_inline_comments_fallback_with_verification
|
pass # continue to try _publish_inline_comments_fallback_with_verification
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue