pass debug object
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user