private void UpdateError(ErrorOverview value) { _errors.Add(value); Delta.LastError = value; if (Delta.FeedUpdate != null) { Delta.FeedUpdate.LastError = Delta.LastError.Exception.Message; } TrimOldItems(_errors); }
private static void FillProcessingEntryError(ProcessingEntryError to, ErrorOverview from) { to.Message = from.Exception != null ? from.Exception.Message : "Unknown"; to.Timestamp = from.ErroredAt; }