try catch hash computation
This commit is contained in:
@@ -111,7 +111,7 @@ public sealed class FileCacheManager : IHostedService
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
_logger.LogWarning("Error during validation of {file}", fileCache.ResolvedFilepath);
|
_logger.LogWarning(e, "Error during validation of {file}", fileCache.ResolvedFilepath);
|
||||||
brokenEntities.Add(fileCache);
|
brokenEntities.Add(fileCache);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user