We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ed80e commit f68fafaCopy full SHA for f68fafa
internal/boxcli/midcobra/telemetry.go
@@ -43,7 +43,7 @@ func (m *telemetryMiddleware) postRun(cmd *cobra.Command, args []string, runErr
43
defer telemetry.Stop()
44
45
var userExecErr *usererr.ExitError
46
- if errors.As(runErr, &userExecErr) {
+ if errors.As(runErr, &userExecErr) || !usererr.ShouldLogError(runErr) {
47
return
48
}
49
0 commit comments