Don't warn when looking up null uid

pull/1264/head
Alex Baker 4 years ago
parent a47e25cdf4
commit 1108322054

@ -116,7 +116,10 @@ class OpenTaskDao @Inject constructor(
}
}
}
?: Timber.e("No task with uid=$uid").let { null }
?: uid?.let {
Timber.e("No task with uid=$it")
null
}
suspend fun batch(operations: List<ContentProviderOperation>) = withContext(Dispatchers.IO) {
operations.chunked(OPENTASK_BATCH_LIMIT).forEach {

Loading…
Cancel
Save