mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Ignore too generic exceptions (temporary code).
This commit is contained in:
committed by
Benoit Marty
parent
c9580ad1e5
commit
b8d87d4e75
+2
@@ -464,6 +464,7 @@ class RustMatrixClient(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("TooGenericExceptionThrown")
|
||||||
override suspend fun resolveRoomAlias(roomAlias: RoomAlias): Result<RoomId> = withContext(sessionDispatcher) {
|
override suspend fun resolveRoomAlias(roomAlias: RoomAlias): Result<RoomId> = withContext(sessionDispatcher) {
|
||||||
runCatching {
|
runCatching {
|
||||||
// TODO Waiting for SDK to be released
|
// TODO Waiting for SDK to be released
|
||||||
@@ -472,6 +473,7 @@ class RustMatrixClient(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("TooGenericExceptionThrown")
|
||||||
override suspend fun getRoomPreview(roomIdOrAlias: RoomIdOrAlias): Result<RoomPreview> = withContext(sessionDispatcher) {
|
override suspend fun getRoomPreview(roomIdOrAlias: RoomIdOrAlias): Result<RoomPreview> = withContext(sessionDispatcher) {
|
||||||
runCatching {
|
runCatching {
|
||||||
// TODO Waiting for SDK to be released
|
// TODO Waiting for SDK to be released
|
||||||
|
|||||||
Reference in New Issue
Block a user