diff --git a/modules/RichSiteSummary/Service/RssFetch.cs b/modules/RichSiteSummary/Service/RssFetch.cs index 64ddaeb..a254082 100644 --- a/modules/RichSiteSummary/Service/RssFetch.cs +++ b/modules/RichSiteSummary/Service/RssFetch.cs @@ -114,6 +114,9 @@ public class RssFetch : IHostedService, IDisposable await dbContext.SaveChangesAsync(); } + catch (Exception ex) { + _logger.LogError("{Message}", ex.Message); + } finally { _timer.Change(TimerPeriod, TimerPeriod); @@ -261,4 +264,4 @@ public class RssFetch : IHostedService, IDisposable } #endregion -} \ No newline at end of file +}