mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-15 12:25:18 +00:00
Lower log level for missing code suggestions from error to warning
This commit is contained in:
parent
f399f9ebe4
commit
8a768aa7fd
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class PRCodeSuggestions:
|
||||||
data = {"code_suggestions": []}
|
data = {"code_suggestions": []}
|
||||||
|
|
||||||
if data is None or 'code_suggestions' not in data or not data['code_suggestions']:
|
if data is None or 'code_suggestions' not in data or not data['code_suggestions']:
|
||||||
get_logger().error('No code suggestions found for the PR.')
|
get_logger().warning('No code suggestions found for the PR.')
|
||||||
pr_body = "## PR Code Suggestions ✨\n\nNo code suggestions found for the PR."
|
pr_body = "## PR Code Suggestions ✨\n\nNo code suggestions found for the PR."
|
||||||
get_logger().debug(f"PR output", artifact=pr_body)
|
get_logger().debug(f"PR output", artifact=pr_body)
|
||||||
if self.progress_response:
|
if self.progress_response:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue