Improve error handling

pull/26/head
Ross Cadogan 8 years ago
parent 875efba1d5
commit c4efc83875

@ -45,7 +45,9 @@ func Update(client container.Client, names []string, cleanup bool) error {
for i, container := range containers {
stale, err := client.IsContainerStale(container)
if err != nil {
return err
log.Infof("Unable to update container %. Proceeding to next.", containers[i].Name())
log.Debug(err)
stale = false
}
containers[i].Stale = stale
}

Loading…
Cancel
Save