mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-16 04:21:49 +00:00
[AB-333] providing some dates as separate instants instead of relying on the member attributes
truncating date to day when displaying the date for export emote stats fixing wrong message when confirming a command and adding missing exception handling
This commit is contained in:
@@ -313,13 +313,16 @@ public class MuteServiceBean implements MuteService {
|
||||
finalFuture.complete(null)
|
||||
).exceptionally(throwable1 -> {
|
||||
log.error("Unmute log failed to send for mute {} in server {}.", muteId, serverId, throwable1);
|
||||
finalFuture.complete(null);
|
||||
finalFuture.completeExceptionally(null);
|
||||
return null;
|
||||
});
|
||||
} else {
|
||||
finalFuture.complete(null);
|
||||
}
|
||||
return null;
|
||||
}).exceptionally(throwable -> {
|
||||
finalFuture.completeExceptionally(throwable);
|
||||
return null;
|
||||
});
|
||||
|
||||
return finalFuture;
|
||||
|
||||
@@ -269,6 +269,9 @@ public class WarnServiceBean implements WarnService {
|
||||
return null;
|
||||
});
|
||||
return null;
|
||||
}).exceptionally(throwable -> {
|
||||
sendingFuture.completeExceptionally(throwable);
|
||||
return null;
|
||||
});
|
||||
|
||||
return sendingFuture;
|
||||
|
||||
Reference in New Issue
Block a user