From d242afd9fc0af539b944cfc71ec7b0be6e630d0d Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 10 Mar 2023 12:10:36 +0100 Subject: [PATCH] pass debug object --- src/docker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docker.js b/src/docker.js index 9ff6a0fc5..db929d483 100644 --- a/src/docker.js +++ b/src/docker.js @@ -152,7 +152,7 @@ async function downloadImage(manifest) { const [error, result] = await safe(image.inspect()); if (!error && result) return; // image is already present locally - await promiseRetry({ times: 10, interval: 5000, retry: (pullError) => pullError.reason !== BoxError.NOT_FOUND && pullError.reason !== BoxError.FS_ERROR }, async () => { + await promiseRetry({ times: 10, interval: 5000, debug, retry: (pullError) => pullError.reason !== BoxError.NOT_FOUND && pullError.reason !== BoxError.FS_ERROR }, async () => { await pullImage(manifest); }); }