Adds error print stack trace

This commit is contained in:
ericdecanini 2022-03-08 21:32:13 +01:00
parent 54828f76cf
commit 31f300c724

View file

@ -51,6 +51,8 @@ internal class DefaultResolveSpaceInfoTask @Inject constructor(
private suspend fun getSpaceHierarchy() = try { private suspend fun getSpaceHierarchy() = try {
getStableSpaceHierarchy() getStableSpaceHierarchy()
} catch (e: Throwable) { } catch (e: Throwable) {
Timber.w("Stable space hierarchy failed: ${e.message}")
e.printStackTrace()
getUnstableSpaceHierarchy() getUnstableSpaceHierarchy()
} }