Skip to content

Commit

Permalink
Merge pull request #3989 from element-hq/feature/fga/room_preview_crash
Browse files Browse the repository at this point in the history
fix(room_preview) : catch all exception instead
  • Loading branch information
ganfra authored Dec 3, 2024
2 parents 71e0ff7 + 54b4d02 commit 3d5b834
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3d5b834

Please sign in to comment.