From 663928e81a0963bdff5f9d23b6c23d8081afc9a7 Mon Sep 17 00:00:00 2001 From: glendsoza Date: Fri, 14 Jan 2022 12:56:58 +0530 Subject: [PATCH] Log the error --- pkg/gui/containers_panel.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/gui/containers_panel.go b/pkg/gui/containers_panel.go index 1ae4573d..78f2fc44 100644 --- a/pkg/gui/containers_panel.go +++ b/pkg/gui/containers_panel.go @@ -116,6 +116,8 @@ func (gui *Gui) renderContainerEnv(container *commands.Container) error { renderedTable, err := utils.RenderTable(envVariablesList) // in case of some error if err != nil { + // log the error + gui.Log.Error(err) renderedTable = "Something went wrong while displaying environment variables" } return gui.T.NewTask(func(stop chan struct{}) {