mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-24 04:55:42 +00:00
remove unnecessary catch
This commit is contained in:
parent
e65a0b9c66
commit
81fbbab362
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user