Skip to content

Commit

Permalink
Merge pull request #279 from Flexberry/fix-error-log
Browse files Browse the repository at this point in the history
Remove empty exceptions catch in get property value controller method
  • Loading branch information
Anisimova2020 committed May 16, 2023
2 parents da84a8b + ef0f340 commit c399027
Showing 1 changed file with 1 addition and 8 deletions.
Expand Up @@ -871,14 +871,7 @@ internal EdmEntityObject GetEdmObject(IEdmEntityType entityType, object obj, int
}
else
{
try
{
value = propertyInfo.GetValue(obj, null);
}
catch (System.Exception)
{
continue;
}
value = propertyInfo.GetValue(obj, null);
}

Type propType = propertyInfo.PropertyType;
Expand Down

0 comments on commit c399027

Please sign in to comment.