Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class CoronaTestStorage @Inject constructor(
emptySet()
} else {
mapper.readValue<Set<PCRCoronaTest>>(value).onEach {
Timber.tag(TAG).v("PCR loaded: %s", it)
Timber.tag(TAG).v("PCR loaded")
requireNotNull(it.identifier)
requireNotNull(it.type) { "PCR type should not be null, Jackson footgun." }
}
Expand All @@ -61,7 +61,7 @@ class CoronaTestStorage @Inject constructor(
emptySet()
} else {
mapper.readValue<Set<RACoronaTest>>(value).onEach {
Timber.tag(TAG).v("RA loaded: %s", it)
Timber.tag(TAG).v("RA loaded")
requireNotNull(it.identifier)
requireNotNull(it.type) { "RA type should not be null, Jackson footgun." }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fun <T : Any> Flow<T>.shareLatest(
) = onStart {
if (tag != null) Timber.tag(tag).v("shareLatest(...) start")
}.onEach {
if (tag != null) Timber.tag(tag).v("shareLatest(...) emission: %s", it)
if (tag != null) Timber.tag(tag).v("shareLatest(...) emission")
}.onCompletion {
if (tag != null) Timber.tag(tag).v("shareLatest(...) completed.")
}.catch {
Expand Down