diff --git a/src/Ombi.Schedule/Jobs/Ombi/OmbiAutomaticUpdater.cs b/src/Ombi.Schedule/Jobs/Ombi/OmbiAutomaticUpdater.cs index 0e7131f91..7392d2906 100644 --- a/src/Ombi.Schedule/Jobs/Ombi/OmbiAutomaticUpdater.cs +++ b/src/Ombi.Schedule/Jobs/Ombi/OmbiAutomaticUpdater.cs @@ -44,9 +44,16 @@ namespace Ombi.Schedule.Jobs.Ombi } public async Task UpdateAvailable(string branch, string currentVersion) { - var updates = await OmbiService.GetUpdates(branch); - var serverVersion = updates.UpdateVersionString; - return !serverVersion.Equals(currentVersion, StringComparison.CurrentCultureIgnoreCase); + try + { + var updates = await OmbiService.GetUpdates(branch); + var serverVersion = updates.UpdateVersionString; + return !serverVersion.Equals(currentVersion, StringComparison.CurrentCultureIgnoreCase); + } + catch (Exception e) + { + Logger.LogError(e, "Attempted to check if there was an update"); + } } public async Task Update(PerformContext c)