diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-09-26 10:45:13 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-09-26 11:00:50 +1000 |
commit | f0a1544ebde246bbf5d28c300fa6e808041b66bc (patch) | |
tree | 6d292c2fa6edce56798677c10b5508b48d86ca94 /pkg/gui/tasks_adapter.go | |
parent | 077f11361805417c15234c62a9f9aa022f913d43 (diff) |
more logging
Diffstat (limited to 'pkg/gui/tasks_adapter.go')
-rw-r--r-- | pkg/gui/tasks_adapter.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/gui/tasks_adapter.go b/pkg/gui/tasks_adapter.go index 0a05bb0c9..91ca92a79 100644 --- a/pkg/gui/tasks_adapter.go +++ b/pkg/gui/tasks_adapter.go @@ -2,12 +2,18 @@ package gui import ( "os/exec" + "strings" "github.com/jesseduffield/gocui" "github.com/jesseduffield/lazygit/pkg/tasks" ) func (gui *Gui) newCmdTask(viewName string, cmd *exec.Cmd) error { + gui.Log.WithField( + "command", + strings.Join(cmd.Args, " "), + ).Debug("RunCommand") + view, err := gui.g.View(viewName) if err != nil { return nil // swallowing for now |