mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
refactor: Catch specific exception
This commit is contained in:
parent
b597448bdc
commit
6f69ea7fde
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ namespace ICD.Common.Utils.Extensions
|
|||
item = extends.ElementAt(index);
|
||||
return true;
|
||||
}
|
||||
catch (Exception)
|
||||
catch (ArgumentOutOfRangeException)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue