We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7dca5f3 + 14ea818 commit 6aaaa76Copy full SHA for 6aaaa76
cli/run.go
@@ -39,6 +39,7 @@ func Run(ctx context.Context, root *cmds.Command,
39
if timeoutStr, ok := req.Options[cmds.TimeoutOpt]; ok {
40
timeout, err := time.ParseDuration(timeoutStr.(string))
41
if err != nil {
42
+ printErr(err)
43
return err
44
}
45
req.Context, cancel = context.WithTimeout(req.Context, timeout)
0 commit comments