diff --git a/src/Unleash/Scheduling/FetchFeatureTogglesTask.cs b/src/Unleash/Scheduling/FetchFeatureTogglesTask.cs index 6e08c4d7..cf985c48 100644 --- a/src/Unleash/Scheduling/FetchFeatureTogglesTask.cs +++ b/src/Unleash/Scheduling/FetchFeatureTogglesTask.cs @@ -56,7 +56,7 @@ public async Task ExecuteAsync(CancellationToken cancellationToken) } catch (HttpRequestException ex) { - Logger.Error(() => $"UNLEASH: Unhandled exception when fetching toggles.", ex); + Logger.Warn(() => $"UNLEASH: Unhandled exception when fetching toggles.", ex); eventConfig?.RaiseError(new ErrorEvent() { ErrorType = ErrorType.Client, Error = ex }); throw new UnleashException("Exception while fetching from API", ex); } diff --git a/src/Unleash/Scheduling/SystemTimerScheduledTaskManager.cs b/src/Unleash/Scheduling/SystemTimerScheduledTaskManager.cs index dbaf1d5d..13c61c6e 100644 --- a/src/Unleash/Scheduling/SystemTimerScheduledTaskManager.cs +++ b/src/Unleash/Scheduling/SystemTimerScheduledTaskManager.cs @@ -47,7 +47,7 @@ async void Callback(object state) } catch (Exception ex) { - Logger.Error(() => $"UNLEASH: Unhandled exception from background task '{name}'.", ex); + Logger.Warn(() => $"UNLEASH: Unhandled exception from background task '{name}'.", ex); } finally {