feat: M3 weighted shuffle v1 — real /api/radio with scoring #21
@@ -94,8 +94,12 @@ class LikesRepository @Inject constructor(
|
||||
if (desiredState) api.like(kindPath, entityId) else api.unlike(kindPath, entityId)
|
||||
true
|
||||
} catch (
|
||||
@Suppress("TooGenericExceptionCaught") e: Throwable,
|
||||
@Suppress("TooGenericExceptionCaught", "SwallowedException") e: Throwable,
|
||||
) {
|
||||
// Intentional swallow: the queue replays this later; surfacing
|
||||
// the network error here would force callers (UI) to handle it
|
||||
// even though it's already been buffered. The replayer logs
|
||||
// per-attempt diagnostics when it lands in Phase 12.2.
|
||||
mutationQueue.enqueueLikeToggle(entityType, entityId, desiredState)
|
||||
false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user