diff --git a/FileProcessor/Common/Extensions.cs b/FileProcessor/Common/Extensions.cs index 6fee4d2..401596c 100644 --- a/FileProcessor/Common/Extensions.cs +++ b/FileProcessor/Common/Extensions.cs @@ -79,7 +79,7 @@ public static void PreWarm(this IApplicationBuilder applicationBuilder){ if (syncResult.IsFailed) { Logger.LogWarning($"Error getting file profiles {syncResult.Message}"); - throw new ApplicationStartupException(syncResult.Message); + return; } Result recoveryResult = recoveryService.RecoverInProgressFilesAsync(CancellationToken.None).GetAwaiter().GetResult();