From de519f01c20fa14a7d624174a38c741cb4a15960 Mon Sep 17 00:00:00 2001 From: Gaurang Kudale Date: Fri, 6 Oct 2023 20:30:01 +0530 Subject: [PATCH] adding log error massage #1290 --- internal/actions/update.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/actions/update.go b/internal/actions/update.go index 8853c6ef8..71f5da901 100644 --- a/internal/actions/update.go +++ b/internal/actions/update.go @@ -222,10 +222,12 @@ func restartStaleContainer(container types.Container, client container.Client, p if !params.NoRestart { if newContainerID, err := client.StartContainer(container); err != nil { + log.Info("Error occurred while starting the container.") log.Error(err) return err } else if container.ToRestart() && params.LifecycleHooks { lifecycle.ExecutePostUpdateCommand(client, newContainerID) + log.Info("Container updated successfully.") } } return nil