mirror of
https://github.com/actions/github-script.git
synced 2025-12-08 16:16:21 +00:00
Core.debug
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -13354,7 +13354,7 @@ function getRetryOptions(retries, exemptStatusCodes) {
|
|||||||
const requestOptions = {
|
const requestOptions = {
|
||||||
retries
|
retries
|
||||||
};
|
};
|
||||||
Object(core.info)(`GitHub client configured with: (retries: ${requestOptions.retries}, retry-exempt-status-code: ${(_a = retryOptions === null || retryOptions === void 0 ? void 0 : retryOptions.doNotRetry) !== null && _a !== void 0 ? _a : 'octokit default: [400, 401, 403, 404, 422]'})`);
|
Object(core.debug)(`GitHub client configured with: (retries: ${requestOptions.retries}, retry-exempt-status-code: ${(_a = retryOptions === null || retryOptions === void 0 ? void 0 : retryOptions.doNotRetry) !== null && _a !== void 0 ? _a : 'octokit default: [400, 401, 403, 404, 422]'})`);
|
||||||
return [retryOptions, requestOptions];
|
return [retryOptions, requestOptions];
|
||||||
}
|
}
|
||||||
function parseNumberArray(listString) {
|
function parseNumberArray(listString) {
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ export function getRetryOptions(
|
|||||||
retries
|
retries
|
||||||
}
|
}
|
||||||
|
|
||||||
core.info(
|
core.debug(
|
||||||
`GitHub client configured with: (retries: ${
|
`GitHub client configured with: (retries: ${
|
||||||
requestOptions.retries
|
requestOptions.retries
|
||||||
}, retry-exempt-status-code: ${
|
}, retry-exempt-status-code: ${
|
||||||
|
|||||||
Reference in New Issue
Block a user