B2017-246 Added Error handler for AnnotationInfoList. Assures that an exception will not cause a crash.

This commit is contained in:
Rich 2017-11-06 14:21:42 +00:00
parent ea4f885628
commit bc0504c42e

View File

@ -141,7 +141,7 @@ namespace VEPROMS.CSLA.Library
} }
catch (Exception ex) catch (Exception ex)
{ {
throw new DbCslaException("Error on AnnotationInfoList.GetByItemID", ex); return new AnnotationInfoList();// B2017-246 If an exception return an empty list
} }
} }
private AnnotationInfoList() private AnnotationInfoList()