mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-30 02:28:53 +00:00
Print helpful message instead of caught error
This commit is contained in:
parent
3aed83fe04
commit
c0bfbc582d
@ -33,7 +33,7 @@ exports.kill = kill = (app) ->
|
|||||||
|
|
||||||
exports.start = start = (app) ->
|
exports.start = start = (app) ->
|
||||||
docker.getImage(app).inspectAsync().catch((error) ->
|
docker.getImage(app).inspectAsync().catch((error) ->
|
||||||
console.log(error)
|
console.log("Pulling image:", app)
|
||||||
deferred = Promise.defer()
|
deferred = Promise.defer()
|
||||||
options =
|
options =
|
||||||
method: 'POST'
|
method: 'POST'
|
||||||
|
Loading…
Reference in New Issue
Block a user