|
@@ -778,8 +778,9 @@ namespace InABox.Database
|
|
}
|
|
}
|
|
catch (Exception e)
|
|
catch (Exception e)
|
|
{
|
|
{
|
|
|
|
+ Logger.Send(LogType.Error, "", $"Error in DoDelete(T entity, string auditnote):\n{CoreUtils.FormatException(e)}");
|
|
//CloseSession("Delete", true);
|
|
//CloseSession("Delete", true);
|
|
- throw e;
|
|
|
|
|
|
+ //throw e;
|
|
}
|
|
}
|
|
//CloseSession("Delete",true);
|
|
//CloseSession("Delete",true);
|
|
|
|
|
|
@@ -817,8 +818,8 @@ namespace InABox.Database
|
|
}
|
|
}
|
|
catch (Exception e)
|
|
catch (Exception e)
|
|
{
|
|
{
|
|
|
|
+ Logger.Send(LogType.Error, "", $"Error in DoDelete(IEnumerable<T> entities, string auditnote):\n{CoreUtils.FormatException(e)}");
|
|
////CloseSession("Delete", true);
|
|
////CloseSession("Delete", true);
|
|
- throw e;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
////CloseSession("Delete", true);
|
|
////CloseSession("Delete", true);
|