Usenet streaming with a WebDAV server and a SABnzbd-compatible API
C#
fix: downgrade unreachable Arr instance log level from Error to Debug (#352)
David Young90a03bf3e63a
diff --git a/backend/Services/ArrMonitoringService.cs b/backend/Services/ArrMonitoringService.csindex c0652a50..c0eee609 100644--- a/backend/Services/ArrMonitoringService.cs+++ b/backend/Services/ArrMonitoringService.cs@@ -52,6 +52,10 @@ public class ArrMonitoringService : BackgroundServiceforeach (var record in stuckRecords)await HandleStuckQueueItem(record, arrConfig, client).ConfigureAwait(false);}+ catch (Exception e) when (e is HttpRequestException { InnerException: System.Net.Sockets.SocketException })+ {+ Log.Debug($"Could not reach Arr instance `{client.Host}` for queue monitoring: {e.Message}");+ }catch (Exception e){Log.Error($"Error occured while monitoring queue for `{client.Host}`: {e.Message}");