diff --git a/pr_agent/git_providers/github_provider.py b/pr_agent/git_providers/github_provider.py index b92d8157..03814221 100644 --- a/pr_agent/git_providers/github_provider.py +++ b/pr_agent/git_providers/github_provider.py @@ -923,7 +923,7 @@ class GithubProvider(GitProvider): issue_id = response_json.get("data", {}).get("repository", {}).get("issue", {}).get("id") if not issue_id: - print(f"Warning: Issue ID not found for {issue_url}") + get_logger().warning(f"Issue ID not found for {issue_url}") return sub_issues # Fetch Sub-Issues