Make sure we get a stacktrace in the log

(so we don't have to guess where it happened) #807
master
cpfeiffer 2017-09-25 19:49:35 +02:00
parent 47bdeea257
commit 976942757f
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class GBMusicControlReceiver extends BroadcastReceiver {
MediaController controller = controllers.get(0);
audioPlayer = controller.getPackageName();
} catch (IndexOutOfBoundsException e) {
LOG.error("IndexOutOfBoundsException: " + e.getMessage());
LOG.error("No media controller available", e);
}
}
return audioPlayer;