snyk 1.923.0 → 1.924.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/756.index.js
CHANGED
|
@@ -7026,6 +7026,7 @@ async function makeRequest(payload, attempts = constants_1.MAX_RETRY_ATTEMPTS) {
|
|
|
7026
7026
|
constants_1.ErrorCodes.connectionRefused,
|
|
7027
7027
|
constants_1.ErrorCodes.timeout,
|
|
7028
7028
|
constants_1.ErrorCodes.dnsNotFound,
|
|
7029
|
+
constants_1.ErrorCodes.serverError,
|
|
7029
7030
|
].includes(errorCode)) {
|
|
7030
7031
|
attempts--;
|
|
7031
7032
|
await sleep(constants_1.REQUEST_RETRY_DELAY);
|