try was missing a catch block.

This commit is contained in:
tzugen 2022-03-30 16:16:59 +02:00
parent 1a46f7e2c6
commit 988bf62acf
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,8 @@ class PlaybackStateSerializer : KoinComponent {
lock.lock()
deserializeNow(afterDeserialized)
setup.set(true)
} catch (all: Exception) {
Timber.e(all, "Had a problem deserializing:")
} finally {
lock.unlock()
}