diff --git a/app/src/main/java/com/malopieds/innertune/playback/ExoDownloadService.kt b/app/src/main/java/com/malopieds/innertune/playback/ExoDownloadService.kt index 39d1dbeab..65c65567b 100644 --- a/app/src/main/java/com/malopieds/innertune/playback/ExoDownloadService.kt +++ b/app/src/main/java/com/malopieds/innertune/playback/ExoDownloadService.kt @@ -12,6 +12,7 @@ import androidx.media3.exoplayer.scheduler.PlatformScheduler import androidx.media3.exoplayer.scheduler.Scheduler import com.malopieds.innertune.R import dagger.hilt.android.AndroidEntryPoint +import timber.log.Timber import javax.inject.Inject @AndroidEntryPoint @@ -61,12 +62,13 @@ class ExoDownloadService : finalException: Exception?, ) { if (download.state == Download.STATE_FAILED) { + Timber.tag("Download failed").e(finalException) val notification = notificationHelper.buildDownloadFailedNotification( context, R.drawable.error, null, - Util.fromUtf8Bytes(download.request.data), + Util.fromUtf8Bytes(download.request.data) + " " + finalException, ) NotificationUtil.setNotification(context, nextNotificationId++, notification) }