[PM-5633] Ignore ArgumentOutOfRangeException to collect more data about the crash (#2933)

This commit is contained in:
André Bispo 2024-01-10 17:02:54 +00:00 committed by GitHub
parent 0e95d4d4ca
commit 5de02c863f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}