From 2cc06ed092a00ae4d2faf6f351b2a6b16d12c0eb Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Tue, 16 May 2023 14:47:28 +0000 Subject: [PATCH] feat: log output on container error --- kernel/kernel.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/kernel.go b/kernel/kernel.go index 59859c6..1991e03 100644 --- a/kernel/kernel.go +++ b/kernel/kernel.go @@ -141,6 +141,7 @@ func GenerateBaseDockerImage(registry string, commands []config.DockerCommand, rawOutput, err := cmd.CombinedOutput() if err != nil { + log.Error().Err(err).Msg(string(rawOutput)) return }