room preview : catch all exception
This commit is contained in:
parent
1f82286cc9
commit
d001955cb3
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ class RustRoomFactory(
|
||||||
}
|
}
|
||||||
val innerRoom = try {
|
val innerRoom = try {
|
||||||
roomListItem.previewRoom(via = emptyList())
|
roomListItem.previewRoom(via = emptyList())
|
||||||
} catch (e: RoomListException) {
|
} catch (e: Exception) {
|
||||||
Timber.e(e, "Failed to get pending room for $roomId")
|
Timber.e(e, "Failed to get pending room for $roomId")
|
||||||
return@withContext null
|
return@withContext null
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue