Browse Source

Update ContentFragment.cshtml

pull/17903/head
Enis Necipoglu 3 years ago
parent
commit
1f917eccc0
No known key found for this signature in database GPG Key ID: 1EC55E13241E1680
  1. 4
      modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragment.cshtml

4
modules/cms-kit/src/Volo.CmsKit.Common.Web/Pages/CmsKit/Components/Contents/ContentFragment.cshtml

@ -42,7 +42,7 @@
@try @try
{ {
await Component.InvokeAsync(componentName, parameters); @await Component.InvokeAsync(componentName, parameters)
} }
catch (Exception ex) catch (Exception ex)
{ {
@ -50,7 +50,7 @@
@L["ThisPartOfContentCouldntBeLoaded"] @L["ThisPartOfContentCouldntBeLoaded"]
</div> </div>
Logger.LogWarning(ex, $"Couldn't load the widget: {componentName}"); Logger.LogError(ex, $"Couldn't load the widget: {componentName}");
} }
} }
} }
Loading…
Cancel
Save