diff --git a/cmd/sendxmpp/main.go b/cmd/sendxmpp/main.go index 9974b31..f1773cf 100644 --- a/cmd/sendxmpp/main.go +++ b/cmd/sendxmpp/main.go @@ -6,5 +6,7 @@ import ( func main() { log.AddHook(&hook{}) - cmd.Execute() + if err := cmd.Execute(); err != nil { + log.Fatal(err) + } }