summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'bridge')
-rw-r--r--bridge/gitter/gitter.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/bridge/gitter/gitter.go b/bridge/gitter/gitter.go
index d1f4b401..ae9ef021 100644
--- a/bridge/gitter/gitter.go
+++ b/bridge/gitter/gitter.go
@@ -1,6 +1,7 @@
package bgitter
import (
+ "fmt"
"github.com/42wim/matterbridge/bridge/config"
log "github.com/Sirupsen/logrus"
"github.com/sromku/go-gitter"
@@ -54,7 +55,7 @@ func (b *Bgitter) JoinChannel(channel string) error {
room := channel
roomID := b.getRoomID(room)
if roomID == "" {
- return nil
+ return fmt.Errorf("Could not find roomID for %v. Please create the room on gitter.im", channel)
}
user, err := b.c.GetUser()
if err != nil {