File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
application/src/main/java/org/togetherjava/tjbot/commands/reminder Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,10 @@ private static void sendReminderViaRoute(@NotNull RestAction<ReminderRoute> rout
100
100
.content (route .description ());
101
101
102
102
Consumer <Throwable > logFailure = failure -> logger .warn (
103
- "Failed to send a reminder (id '{}'), skipping it. This can be due to a network issue,"
104
- + " but also happen if the bot disconnected from the target guild and the"
105
- + " user has disabled DMs or has been deleted." ,
103
+ """
104
+ Failed to send a reminder (id '{}'), skipping it. This can be due to a network issue, \
105
+ but also happen if the bot disconnected from the target guild and the \
106
+ user has disabled DMs or has been deleted.""" ,
106
107
id );
107
108
108
109
routeAction .flatMap (sendMessage ).queue (doNothing (), logFailure );
You can’t perform that action at this time.
0 commit comments