Merge pull request #3989 from element-hq/feature/fga/room_preview_crash
fix(room_preview) : catch all exception instead
This commit is contained in:
commit
3d5b834cc8
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ class RustRoomFactory(
|
|||
}
|
||||
val innerRoom = try {
|
||||
roomListItem.previewRoom(via = emptyList())
|
||||
} catch (e: RoomListException) {
|
||||
} catch (e: Exception) {
|
||||
Timber.e(e, "Failed to get pending room for $roomId")
|
||||
return@withContext null
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue