Make a specific crash more clear to improve debuggability.
This commit is contained in:
parent
43caaf7efc
commit
dc32e51ac2
1 changed files with 3 additions and 2 deletions
|
@ -98,10 +98,11 @@ class PnpInitializeDevicesJob private constructor(parameters: Parameters) : Base
|
|||
|
||||
try {
|
||||
Log.i(TAG, "Initializing PNI for linked devices")
|
||||
initializeDevices(e164)
|
||||
val result: VerifyResponseWithoutKbs = initializeDevices(e164)
|
||||
.map(::VerifyResponseWithoutKbs)
|
||||
.safeBlockingGet()
|
||||
.resultOrThrow
|
||||
|
||||
result.error?.let { throw it }
|
||||
} catch (e: InterruptedException) {
|
||||
throw IOException("Retry", e)
|
||||
} catch (t: Throwable) {
|
||||
|
|
Loading…
Add table
Reference in a new issue