Capture rate limit and ref not existing config errors
This commit is contained in:
parent
5a599c68cf
commit
fa75c144b4
6 changed files with 30 additions and 6 deletions
|
|
@ -10,7 +10,7 @@ import * as jsonschema from "jsonschema";
|
|||
import * as actionsUtil from "./actions-util";
|
||||
import { getOptionalInput, getRequiredInput } from "./actions-util";
|
||||
import * as api from "./api-client";
|
||||
import { getGitHubVersion } from "./api-client";
|
||||
import { getGitHubVersion, wrapApiConfigurationError } from "./api-client";
|
||||
import { CodeQL, getCodeQL } from "./codeql";
|
||||
import { getConfig } from "./config-utils";
|
||||
import { EnvVar } from "./environment";
|
||||
|
|
@ -256,7 +256,7 @@ async function uploadPayload(
|
|||
break;
|
||||
}
|
||||
}
|
||||
throw e;
|
||||
throw wrapApiConfigurationError(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue