mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
Log the error
This commit is contained in:
parent
32aa08066c
commit
663928e81a
1 changed files with 2 additions and 0 deletions
|
|
@ -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{}) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue