Refactored the error params, so that exception is before the message/template so its more in sync with Serilog signature & was an easy way to find some more logs I missed too
This commit is contained in:
@@ -186,9 +186,9 @@ namespace Umbraco.Web.PublishedCache.NuCache
|
||||
|
||||
LockAndLoadDomains();
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.Error<PublishedSnapshotService>("Panic, exception while loading cache data.", e);
|
||||
_logger.Fatal<PublishedSnapshotService>(ex, "Panic, exception while loading cache data.");
|
||||
}
|
||||
|
||||
// finaly, cache is ready!
|
||||
|
||||
Reference in New Issue
Block a user