remove unnecessary catch

This commit is contained in:
Aleksis Brezas 2014-09-23 21:53:14 +03:00 committed by Pablo Carranza Vélez
parent e65a0b9c66
commit 81fbbab362

View File

@ -87,7 +87,7 @@ exports.initialised = currentSupervisor.then (currentSupervisor) ->
exports.update = ->
# Make sure only one attempt to update the full supervisor is running at a time, ignoring any errors from
# previous update attempts.
supervisorUpdating = supervisorUpdating.catch(->).then ->
supervisorUpdating = supervisorUpdating.then ->
utils.mixpanelTrack('Supervisor update check')
console.log('Fetching supervisor:', remoteImage)
docker.createImageAsync(fromImage: remoteImage)