Skip to content

Commit 81c9a1a

Browse files
committed
feat(commands): add notice when resetAllPlayTimes fails
1 parent 336a4a8 commit 81c9a1a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

playtime-core/src/main/java/com/github/imdmk/playtime/core/feature/playtime/command/PlayTimeResetAllCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ void resetAll(@Context CommandSender sender) {
5252
})
5353
.exceptionally(e -> {
5454
logger.error(e, "Failed to reset all playtimes");
55+
messageService.send(sender, n -> n.actionExecutionError);
5556
return null;
5657
});
5758
}

0 commit comments

Comments
 (0)