summaryrefslogtreecommitdiffstats
path: root/bridge/discord/helpers.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-09-05 22:39:43 +0200
committerWim <wim@42.be>2019-09-05 22:39:43 +0200
commitf66d5f1e58b25df47d8062481a25dd1522e693b0 (patch)
treef4e5fc7a92df75312e280df9f1e331b2ed0f7217 /bridge/discord/helpers.go
parentcec086994e1b00ee1230c6657f5fedaa2ce90372 (diff)
downloadmatterbridge-msglm-f66d5f1e58b25df47d8062481a25dd1522e693b0.tar.gz
matterbridge-msglm-f66d5f1e58b25df47d8062481a25dd1522e693b0.tar.bz2
matterbridge-msglm-f66d5f1e58b25df47d8062481a25dd1522e693b0.zip
Add extra debug info (discord)
Diffstat (limited to 'bridge/discord/helpers.go')
-rw-r--r--bridge/discord/helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/discord/helpers.go b/bridge/discord/helpers.go
index 1447c530..11e62b17 100644
--- a/bridge/discord/helpers.go
+++ b/bridge/discord/helpers.go
@@ -25,7 +25,7 @@ func (b *Bdiscord) getNick(user *discordgo.User) string {
// If we didn't find nick, search for it.
member, err := b.c.GuildMember(b.guildID, user.ID)
if err != nil {
- b.Log.Warnf("Failed to fetch information for member %#v: %s", user, err)
+ b.Log.Warnf("Failed to fetch information for member %#v on guild %#v: %s", user, b.guildID, err)
return user.Username
} else if member == nil {
b.Log.Warnf("Got no information for member %#v", user)