mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Make sure we get a stacktrace in the log
(so we don't have to guess where it happened) #807
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user