mirror of
https://github.com/bitwarden/android.git
synced 2025-12-10 00:06:22 -06:00
Checking if Timber has been planted before trying to uproot it
This commit is contained in:
parent
540ece5a40
commit
3d15d35996
@ -30,7 +30,7 @@ class LogsManagerImpl(
|
||||
}
|
||||
if (value) {
|
||||
Timber.plant(nonfatalErrorTree)
|
||||
} else {
|
||||
} else if (Timber.forest().contains(nonfatalErrorTree)) {
|
||||
Timber.uproot(nonfatalErrorTree)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user