Refactor logging and profiling, boot reporting
This commit is contained in:
@@ -39,7 +39,7 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.Error<PreviewContent>($"Could not load preview set {_previewSet} for user {_userId}.", ex);
|
||||
Current.Logger.Error<PreviewContent>($"Could not load preview set {_previewSet} for user {_userId}.", ex);
|
||||
|
||||
ClearPreviewSet();
|
||||
|
||||
@@ -145,7 +145,7 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogHelper.Error<PreviewContent>($"Couldn't delete preview set {file.Name} for user {userId}", ex);
|
||||
Current.Logger.Error<PreviewContent>($"Couldn't delete preview set {file.Name} for user {userId}", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user