mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-02-13 15:08:28 -06:00
Handle a dumb error on shutdown.
This commit is contained in:
@@ -105,7 +105,7 @@ public class ApplicationHandler {
|
||||
System.out.println("Shutting down Discord bot!");
|
||||
try {
|
||||
DisCalAPI.getAPI().getClient().logout();
|
||||
} catch (DiscordException e) {
|
||||
} catch (DiscordException | NoSuchMethodError e) {
|
||||
//No need to print, exiting anyway.
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user