B2017-246 Added Error handler for AnnotationInfoList. Assures that an exception will not cause a crash.
This commit is contained in:
parent
ea4f885628
commit
bc0504c42e
@ -141,7 +141,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user