diff options
Diffstat (limited to 'telegabber.go')
-rw-r--r-- | telegabber.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/telegabber.go b/telegabber.go index dd1e187..6c17c91 100644 --- a/telegabber.go +++ b/telegabber.go @@ -10,7 +10,11 @@ import ( const CONFIG_PATH string = "config.yml" func main() { - config := config.ReadConfig(CONFIG_PATH) + config, err := config.ReadConfig(CONFIG_PATH) + if err != nil { + log.Fatal(err) + } + cm := xmpp.NewComponent(config.Xmpp) // reconnect automatically |