Lower log level for missing code suggestions from error to warning

This commit is contained in:
mrT23
2024-08-12 18:41:24 +03:00
parent f399f9ebe4
commit 8a768aa7fd

View File

@ -100,7 +100,7 @@ class PRCodeSuggestions:
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."
get_logger().debug(f"PR output", artifact=pr_body)
if self.progress_response: