mirror of
https://github.com/grafana/grafana.git
synced 2025-09-25 11:44:06 +08:00
fix(cli): improve logging when folders does not exists
This commit is contained in:
@ -11,7 +11,7 @@ func runCommand(command func(commandLine CommandLine) error) func(context *cli.C
|
||||
|
||||
cmd := &contextCommandLine{context}
|
||||
if err := command(cmd); err != nil {
|
||||
log.Errorf("%v\n\n", err)
|
||||
log.Errorf("%s\n\n", err)
|
||||
|
||||
cmd.ShowHelp()
|
||||
os.Exit(1)
|
||||
|
Reference in New Issue
Block a user