android / android/codelab-android-workmanager

Timber instead of Log??

Open
#295 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
557
Forks
242
PR merge metrics
No merged PRs in 30d

Description

In Background work with WorkManager - Kotlin, step 6 - Chain your work.
code for BlurWorker.kt

...
return try {
if (TextUtils.isEmpty(resourceUri)) {
Timber.e("Invalid input uri") <--- Should Timber not be Log?
throw IllegalArgumentException("Invalid input uri")
}
...

Contributor guide

Open the contributing guide

Research direction

Open the “Background work with WorkManager - Kotlin” codelab at step 6, “Chain your work,” and inspect BlurWorker.kt around the “Invalid input uri” logging call. Determine whether the example should use Timber or Log, then verify the corrected sample builds and the codelab text matches the code.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
documentation, mobile-dev
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.