Log why the new-arrivals refresh fails
The soak showed it failing every round from 12:00 with only the class name logged, and no request reaching the server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -473,7 +473,9 @@ internal fun EmbyConnectionScreen(modifier: Modifier = Modifier, visible: Boolea
|
||||
catch (failure: Exception) { android.util.Log.w("OrbitSchedule", "overnight catalogue failed=${failure.javaClass.simpleName}") }
|
||||
try { withContext(Dispatchers.IO) { BackgroundPacing.run { scheduler.refreshArrivals(active, active.accountId, catalogue) } } }
|
||||
catch (cancelled: CancellationException) { throw cancelled }
|
||||
catch (failure: Exception) { android.util.Log.w("OrbitSchedule", "arrivals failed=${failure.javaClass.simpleName}") }
|
||||
// The reason too (17 November 2026: it failed every round of the soak without a request reaching the server, and the
|
||||
// class name alone couldn't say why). Orbit's own messages carry no token or address.
|
||||
catch (failure: Exception) { android.util.Log.w("OrbitSchedule", "arrivals failed=${failure.javaClass.simpleName} status=${(failure as? EmbyCheckException)?.httpStatus} reason=${failure.message?.take(160)}", failure.takeUnless { it is EmbyCheckException }) }
|
||||
delay(60 * 60_000L)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user