Skip to content

Commit 2b2b416

Browse files
committed
added another debug statement for target command execution
1 parent 9efa315 commit 2b2b416

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

service/task/target.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ func execute(dir string, env map[string]string, command []string) (err error) {
7070
cmd.Env = append(cmd.Env, fmt.Sprintf("%s=%s", k, v))
7171
}
7272

73+
zap.L().Debug("executing target command",
74+
zap.String("command", command[0]),
75+
zap.Strings("args", command[1:]))
7376
err = cmd.Run()
7477
if err != nil {
7578
return err

0 commit comments

Comments
 (0)