Skip to content

Commit 911d845

Browse files
authored
Merge pull request #2796 from github/nickfyson/adjust-rate-error-string
adjust string for handling rate limit error
2 parents 608ccd6 + 7b7ed63 commit 911d845

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/api-client.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/api-client.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api-client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export async function deleteActionsCache(id: number) {
249249
export function wrapApiConfigurationError(e: unknown) {
250250
if (isHTTPError(e)) {
251251
if (
252-
e.message.includes("API rate limit exceeded for site ID installation") ||
252+
e.message.includes("API rate limit exceeded for installation") ||
253253
e.message.includes("commit not found") ||
254254
/^ref .* not found in this repository$/.test(e.message)
255255
) {

0 commit comments

Comments
 (0)