mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 15:45:03 +00:00
Better debug message
This commit is contained in:
parent
ca9494ea33
commit
e565f4dadb
1 changed files with 3 additions and 1 deletions
|
@ -139,7 +139,9 @@ export class ReactionRolesPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
targetMessage = await channel.getMessage(messageId);
|
||||
} catch (e) {
|
||||
if (e instanceof DiscordRESTError) {
|
||||
logger.warn(`Reaction roles for unknown message ${messageId} in guild ${this.guild.name} (${this.guildId})`);
|
||||
logger.warn(
|
||||
`Reaction roles for unknown message ${channelId}/${messageId} in guild ${this.guild.name} (${this.guildId})`,
|
||||
);
|
||||
return;
|
||||
} else {
|
||||
throw e;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue