mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-28 04:34:21 +01:00
Improve stacktraces by not wrapping CDS exceptions in RuntimeExceptions.
This commit is contained in:
@@ -72,8 +72,6 @@ class CdsApi(private val authWebSocket: SignalWebSocket.AuthenticatedWebSocket)
|
||||
is TimeoutException -> NetworkResult.NetworkError(IOException("Timed out"))
|
||||
else -> throw e
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
throw RuntimeException("Unexpected exception when retrieving registered users!", e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user