Print helpful message instead of caught error

This commit is contained in:
Petros Aggelatos 2014-01-03 12:42:10 +00:00 committed by Pablo Carranza Vélez
parent 3aed83fe04
commit c0bfbc582d

View File

@ -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'