Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
freyacodes committed Sep 17, 2017
2 parents 383db10 + 4c2f5ba commit 4087dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LavalinkServer/src/main/java/lavalink/server/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public Launcher(Config config, SocketServer socketServer) {
SimpleLog.addListener(new SimpleLogToSLF4JAdapter());
Launcher.config = config;
this.socketServer = socketServer;
if (!config.getSentryDsn().isEmpty()) {
if (config.getSentryDsn() != null && !config.getSentryDsn().isEmpty()) {
Sentry.init(config.getSentryDsn());
}
}
Expand Down

0 comments on commit 4087dd7

Please sign in to comment.