We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48e8481 commit 62364c9Copy full SHA for 62364c9
1 file changed
src/main/java/net/javadiscord/javabot/systems/staff_commands/RedeployCommand.java
@@ -11,6 +11,8 @@
11
import net.javadiscord.javabot.util.Responses;
12
import org.jetbrains.annotations.NotNull;
13
14
+import java.io.IOException;
15
+
16
/**
17
* <h3>This class represents the /redeploy command.</h3>
18
* Command that lets staff-members redeploy the bot.
@@ -52,7 +54,7 @@ public void execute(@NotNull SlashCommandInteractionEvent event) {
52
54
} else {
53
55
event.getHook().sendMessage("Compilation successful, restarting...").queue();
56
}
- } catch (Exception e) {
57
+ } catch (InterruptedException | IOException e) {
58
ExceptionLogger.capture(e, getClass().getSimpleName());
59
60
Bot.getMessageCache().synchronize();
0 commit comments