Skip to content

Commit ba1abe7

Browse files
committed
adjust string for handling rate limit error
1 parent 608ccd6 commit ba1abe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api-client.ts

Lines changed: 1 addition & 1 deletion
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)