Skip to content

Commit 62364c9

Browse files
committed
Fix checkstyle
1 parent 48e8481 commit 62364c9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/net/javadiscord/javabot/systems/staff_commands/RedeployCommand.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
import net.javadiscord.javabot.util.Responses;
1212
import org.jetbrains.annotations.NotNull;
1313

14+
import java.io.IOException;
15+
1416
/**
1517
* <h3>This class represents the /redeploy command.</h3>
1618
* Command that lets staff-members redeploy the bot.
@@ -52,7 +54,7 @@ public void execute(@NotNull SlashCommandInteractionEvent event) {
5254
} else {
5355
event.getHook().sendMessage("Compilation successful, restarting...").queue();
5456
}
55-
} catch (Exception e) {
57+
} catch (InterruptedException | IOException e) {
5658
ExceptionLogger.capture(e, getClass().getSimpleName());
5759
}
5860
Bot.getMessageCache().synchronize();

0 commit comments

Comments
 (0)