From 1245827dffc84d67d199290a9ee8298dced7f5e4 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Fri, 31 Dec 2021 12:05:40 +0100 Subject: [PATCH] fix: handle %s correctly --- cli/app/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/app/errors.go b/cli/app/errors.go index 02594ce4..506fafd5 100644 --- a/cli/app/errors.go +++ b/cli/app/errors.go @@ -96,7 +96,7 @@ func checkErrors(c *cli.Context, cl *dockerClient.Client, app config.App) error } if containerState.State.Error != "" { - logrus.Warnf("%s reports this error: ", containerState.State.Error) + logrus.Warnf("%s reports this error: %s", service.Name, containerState.State.Error) } if containerState.State.Health != nil {