From 5de02c863f3cc501eb9ec498302f72909436ab28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bispo?= Date: Wed, 10 Jan 2024 17:02:54 +0000 Subject: [PATCH] [PM-5633] Ignore ArgumentOutOfRangeException to collect more data about the crash (#2933) --- .../CollectionView/ExtendedGroupableItemsViewController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/iOS.Core/Renderers/CollectionView/ExtendedGroupableItemsViewController.cs b/src/iOS.Core/Renderers/CollectionView/ExtendedGroupableItemsViewController.cs index 0933dc183..374ce21ce 100644 --- a/src/iOS.Core/Renderers/CollectionView/ExtendedGroupableItemsViewController.cs +++ b/src/iOS.Core/Renderers/CollectionView/ExtendedGroupableItemsViewController.cs @@ -38,10 +38,11 @@ namespace Bit.iOS.Core.Renderers.CollectionView // Do nothing in here, this is temporary to get more info about the crash, if the logger fails, we want to get the info // by crashing with the original exception and not the logger one } - if (ex is IndexOutOfRangeException) + if (ex is IndexOutOfRangeException || ex is ArgumentOutOfRangeException) { return; } + throw colEx; } }