Suppress log output
@@ -315,6 +315,11 @@ public class StatsRecorder : BackgroundService
await UpdatePoolHashratesAsync(ct);
}
+ catch(OperationCanceledException)
+ {
+ // ignored
+ }
+
catch(Exception ex)
{
logger.Error(ex);
@@ -333,6 +338,11 @@ public class StatsRecorder : BackgroundService
await StatsGcAsync(ct);
}
+ catch(OperationCanceledException)
+ {
+ // ignored
+ }
+
catch(Exception ex)
{
logger.Error(ex);
