mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-21 10:02:00 -08:00
Report errors
This commit is contained in:
parent
6ff7812ac4
commit
d2a1329dc6
@ -6,5 +6,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
log.AddHook(&hook{})
|
log.AddHook(&hook{})
|
||||||
cmd.Execute()
|
if err := cmd.Execute(); err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user