Add --trace flag to CLI commands #406
1 changed files with 1 additions and 0 deletions
|
@ -46,5 +46,6 @@ func ExitOnErr(cmd *cobra.Command, errFmt string, err error) {
|
|||
}
|
||||
|
||||
cmd.PrintErrln(err)
|
||||
cmd.PersistentPostRun(cmd, nil)
|
||||
os.Exit(code)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue