adjust string for handling rate limit error
This commit is contained in:
parent
608ccd6cd9
commit
7b7ed63503
3 changed files with 3 additions and 3 deletions
|
|
@ -249,7 +249,7 @@ export async function deleteActionsCache(id: number) {
|
|||
export function wrapApiConfigurationError(e: unknown) {
|
||||
if (isHTTPError(e)) {
|
||||
if (
|
||||
e.message.includes("API rate limit exceeded for site ID installation") ||
|
||||
e.message.includes("API rate limit exceeded for installation") ||
|
||||
e.message.includes("commit not found") ||
|
||||
/^ref .* not found in this repository$/.test(e.message)
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue