Skip to content

Commit

Permalink
Log "loaded config" message again after successfully initializing the…
Browse files Browse the repository at this point in the history
… GUI
  • Loading branch information
MichailiK committed Feb 28, 2024
1 parent 90d9a16 commit ff1ede9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/com/jagrosh/jmusicbot/JMusicBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,10 @@ else if(config.getGame().getName().equalsIgnoreCase("none"))
GUI gui = new GUI(bot);
bot.setGUI(gui);
gui.init();
}
catch(Exception e)

LOG.info("Loaded config from " + config.getConfigLocation());
}
catch(Exception e)
{
LOG.error("Could not start GUI. If you are "
+ "running on a server or in a location where you cannot display a "
Expand Down

0 comments on commit ff1ede9

Please sign in to comment.