We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e877646 commit b013be0Copy full SHA for b013be0
src/main/java/net/discordjug/javabot/SpringConfig.java
@@ -43,8 +43,9 @@ PresenceUpdater standardActivityPresenceUpdater() {
43
44
@Bean
45
DataSource dataSource(BotConfig config) {
46
- if (config.getSystems().getJdaBotToken().isEmpty())
+ if (config.getSystems().getJdaBotToken().isEmpty()) {
47
throw new RuntimeException("JDA Token not set. Stopping Bot...");
48
+ }
49
return DbHelper.initDataSource(config);
50
}
51
0 commit comments