diff options
author | Wim <wim@42.be> | 2016-12-08 00:14:17 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2016-12-08 00:14:17 +0100 |
commit | 43e765f4f9760a177f2a2090fad1137eb20df2a8 (patch) | |
tree | 7c1d51a4c6c41c57d75829778d778a132b8c0eb6 /matterbridge.go | |
parent | adec73f542769b6e8fd9f6a57447c439761c7500 (diff) | |
download | matterbridge-msglm-43e765f4f9760a177f2a2090fad1137eb20df2a8.tar.gz matterbridge-msglm-43e765f4f9760a177f2a2090fad1137eb20df2a8.tar.bz2 matterbridge-msglm-43e765f4f9760a177f2a2090fad1137eb20df2a8.zip |
Exit when a bridge fails to start
Diffstat (limited to 'matterbridge.go')
-rw-r--r-- | matterbridge.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/matterbridge.go b/matterbridge.go index 5778c184..505944a4 100644 --- a/matterbridge.go +++ b/matterbridge.go @@ -39,7 +39,7 @@ func main() { go func(gw config.SameChannelGateway) { err := samechannelgateway.New(cfg, &gw) if err != nil { - log.Debugf("starting gateway failed %#v", err) + log.Fatalf("starting gateway failed %#v", err) } }(gw) } @@ -52,7 +52,7 @@ func main() { g := gateway.New(cfg, &gw) err := g.Start() if err != nil { - log.Debugf("starting gateway failed %#v", err) + log.Fatalf("starting gateway failed %#v", err) } } select {} |