comment explaining why we dont throw on supervisor update

This commit is contained in:
Aleksis Brezas 2014-09-23 22:17:43 +03:00 committed by Pablo Carranza Vélez
parent 5a9f5bebc6
commit ff12b4b736

View File

@ -123,3 +123,6 @@ exports.initialised = currentSupervisor.then (currentSupervisor) ->
startNewSupervisor(currentSupervisor)
.catch (err) ->
utils.mixpanelTrack('Supervisor update failed', error: err)
# The error here is intentionally not propagated further up the chain,
# because the supervisor-update module internally handles update failures
# and makes sure that ill updates do not affect the rest of the system.