Skip to content

Commit

Permalink
Rate limit message
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpowell committed Apr 2, 2024
1 parent e8f30ba commit e4e49dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validation/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ static async Task EnsureValidGitHubUri(string filePath, Uri? uri, string uriName

if (hasReceivedGitHubAbuseLimitResponse && delta is TimeSpan timeRemaining)
{
Console.WriteLine($"Rate Limit Exceeded. Retrying in {timeRemaining.TotalSeconds} seconds");
Console.WriteLine($"::notice file={filePath}:: GitHub Rate Limit Exceeded. Retrying in {timeRemaining.TotalSeconds} seconds.");
await Task.Delay(timeRemaining).ConfigureAwait(false);
}
else if (!response.IsSuccessStatusCode)
Expand Down

0 comments on commit e4e49dc

Please sign in to comment.