public JobException AddException(Exception err) { var item = new JobException { ExceptionDateTimeUtc = DateTime.UtcNow, ExceptionMessage = err.Message, ExceptionDetail = err.ToString() }; this.ExceptionList.Add(item); return item; }
public JobException AddException(Exception err) { var item = new JobException { ExceptionDateTimeUtc = DateTime.UtcNow, ExceptionMessage = err.Message, ExceptionDetail = err.ToString() }; this.ExceptionList.Add(item); return(item); }