casting: add more descriptive error log

This commit is contained in:
Marcus Hanestad 2025-09-10 08:56:50 +02:00
commit a763a128f8

View file

@ -103,7 +103,7 @@ class CastView : ConstraintLayout {
}
d.resumePlayback()
} catch (e: Throwable) {
Logger.e(TAG, "$e")
Logger.e(TAG, "Failed to change playback speed to hold playback speed: $e")
}
}
_gestureControlView.onSpeedHoldEnd.subscribe {
@ -114,7 +114,7 @@ class CastView : ConstraintLayout {
}
d.changeSpeed(_speedHoldPrevRate)
} catch (e: Throwable) {
Logger.e(TAG, "$e")
Logger.e(TAG, "Failed to change playback speed to previous hold playback speed: $e")
}
}