diff --git a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragment.cshtml b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragment.cshtml index aad3de1abf..00665d4e99 100644 --- a/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragment.cshtml +++ b/modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragment.cshtml @@ -42,7 +42,7 @@ @try { - await Component.InvokeAsync(componentName, parameters); + @await Component.InvokeAsync(componentName, parameters) } catch (Exception ex) { @@ -50,7 +50,7 @@ @L["ThisPartOfContentCouldntBeLoaded"] - Logger.LogWarning(ex, $"Couldn't load the widget: {componentName}"); + Logger.LogError(ex, $"Couldn't load the widget: {componentName}"); } } } \ No newline at end of file