Skip to content

Commit 75efdc4

Browse files
committed
feat: make warning message more concise
1 parent 3b3dcaf commit 75efdc4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

application/src/main/java/org/togetherjava/tjbot/features/basic/CoolMessagesBoardManager.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ public void onMessageReactionAdd(MessageReactionAddEvent event) {
4949
Optional<TextChannel> boardChannel = getBoardChannel(event.getJDA(), guildId);
5050

5151
if (boardChannel.isEmpty()) {
52-
logger.warn("Tried to find the board channel in server {} but was unable to do so",
53-
guildId);
52+
logger.warn(
53+
"Could not find board channel with pattern '{}' in server with ID '{}'. Skipping reaction handling...",
54+
this.config.boardChannelPattern(), guildId);
5455
return;
5556
}
5657

0 commit comments

Comments
 (0)