Report errors
This commit is contained in:
parent
6ff7812ac4
commit
d2a1329dc6
|
@ -6,5 +6,7 @@ import (
|
|||
|
||||
func main() {
|
||||
log.AddHook(&hook{})
|
||||
cmd.Execute()
|
||||
if err := cmd.Execute(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue