3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 15:45:03 +00:00

ReactionRoles: add extra debug info for unknown messages

This commit is contained in:
Dragory 2020-01-12 16:37:40 +02:00
parent b4dbf246be
commit 66874615f7

View file

@ -144,7 +144,7 @@ export class ReactionRolesPlugin extends ZeppelinPlugin<TConfigSchema> {
} catch (e) { } catch (e) {
if (e instanceof DiscordRESTError) { if (e instanceof DiscordRESTError) {
logger.warn( logger.warn(
`Reaction roles for unknown message ${channelId}/${messageId} in guild ${this.guild.name} (${this.guildId})`, `Reaction roles for unknown message ${channelId}/${messageId} in guild ${this.guild.name} (${this.guildId}) (error code ${e.code})`,
); );
return; return;
} else { } else {