mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-18 21:27:51 +00:00
Merge pull request #1774 from balena-io/fix-unhandled-promise-rejection
Fix unhandled promise rejection when using `balena deploy`
This commit is contained in:
commit
2874a69d7d
@ -581,9 +581,7 @@ const pushAndUpdateServiceImages = function(docker, token, images, afterEach) {
|
||||
Promise.join(
|
||||
localImage.inspect().get('Size'),
|
||||
retry(
|
||||
() => {
|
||||
progress.push(localImage.name, reporters[index], opts);
|
||||
},
|
||||
() => progress.push(localImage.name, reporters[index], opts),
|
||||
3, // `times` - retry 3 times
|
||||
localImage.name, // `label` included in retry log messages
|
||||
2000, // `delayMs` - wait 2 seconds before the 1st retry
|
||||
|
Loading…
Reference in New Issue
Block a user