mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-23 15:32:22 +00:00
Fix generateCacheName error not being caught
This commit is contained in:
parent
4341f1219f
commit
531a48a158
@ -60,7 +60,10 @@ exports.download =
|
||||
wifiKey: options.key
|
||||
appId: params.id
|
||||
|
||||
try
|
||||
fileName = resin.models.os.generateCacheName(osParams)
|
||||
catch error
|
||||
return done(error)
|
||||
|
||||
outputFile = options.output or path.join(resin.settings.get('directories.os'), fileName)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user