From c4efc838757aff437b22c07c85be29761974eb72 Mon Sep 17 00:00:00 2001 From: Ross Cadogan Date: Thu, 13 Oct 2016 18:14:41 +0100 Subject: [PATCH] Improve error handling --- actions/update.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/actions/update.go b/actions/update.go index fe8fc98..7999d4a 100644 --- a/actions/update.go +++ b/actions/update.go @@ -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 }