From f66d5f1e58b25df47d8062481a25dd1522e693b0 Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 5 Sep 2019 22:39:43 +0200 Subject: Add extra debug info (discord) --- bridge/discord/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge') 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) -- cgit v1.2.3