diff options
author | Wim <wim@42.be> | 2019-09-05 22:39:43 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2019-09-05 22:39:43 +0200 |
commit | f66d5f1e58b25df47d8062481a25dd1522e693b0 (patch) | |
tree | f4e5fc7a92df75312e280df9f1e331b2ed0f7217 | |
parent | cec086994e1b00ee1230c6657f5fedaa2ce90372 (diff) | |
download | matterbridge-msglm-f66d5f1e58b25df47d8062481a25dd1522e693b0.tar.gz matterbridge-msglm-f66d5f1e58b25df47d8062481a25dd1522e693b0.tar.bz2 matterbridge-msglm-f66d5f1e58b25df47d8062481a25dd1522e693b0.zip |
Add extra debug info (discord)
-rw-r--r-- | bridge/discord/helpers.go | 2 |
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) |