mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-11 10:45: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);
|
||||
return true;
|
||||
}
|
||||
catch (Exception)
|
||||
catch (ArgumentOutOfRangeException)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user