mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-22 02:36:55 +00:00
Make a specific crash more clear to improve debuggability.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user