Print error when apptask.pullImage() failed

This commit is contained in:
Johannes Zellner
2015-10-13 13:25:43 +02:00
parent 3787dd98b4
commit 562ce3192f
+5 -1
View File
@@ -191,7 +191,11 @@ function downloadImage(app, callback) {
async.retry({ times: 5, interval: 15000 }, function (retryCallback) {
debugApp(app, 'Downloading image. attempt: %s', attempt++);
pullImage(app, retryCallback);
pullImage(app, function (error) {
if (error) console.error(error);
retryCallback(error);
});
}, callback);
}