diff --git a/src/main/java/me/chayapak1/chomens_bot/plugins/GrepLogPlugin.java b/src/main/java/me/chayapak1/chomens_bot/plugins/GrepLogPlugin.java index 3bbc8c9..6ad2788 100644 --- a/src/main/java/me/chayapak1/chomens_bot/plugins/GrepLogPlugin.java +++ b/src/main/java/me/chayapak1/chomens_bot/plugins/GrepLogPlugin.java @@ -129,6 +129,9 @@ public class GrepLogPlugin { context.sendOutput(component); }); + } catch (CommandException e) { + running = false; + throw e; } catch (FileNotFoundException e) { running = false; throw new CommandException(Component.text("File not found"));