diff --git a/src/docker.ts b/src/docker.ts index 4e476a2..0527fc6 100644 --- a/src/docker.ts +++ b/src/docker.ts @@ -37,9 +37,11 @@ export async function logout(registry: string): Promise { function isRetriableError(error_message: string, http_codes_to_retry: string[]): boolean { for (const err_code of http_codes_to_retry) { if (error_message.includes('failed with status: ' + err_code)) { + console.log(error_message + 'match the code' + err_code); return true; } } + console.log('no matches for ' + error_message); return false; }