pass debug object

This commit is contained in:
Girish Ramakrishnan
2023-03-10 12:10:36 +01:00
parent 5e606c50a4
commit d242afd9fc

View File

@@ -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);
});
}