mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 05:05:05 +00:00
refactor: Catch specific exception
This commit is contained in:
@@ -163,7 +163,7 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
item = extends.ElementAt(index);
|
item = extends.ElementAt(index);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (ArgumentOutOfRangeException)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user