Skip to content

Commit 3087fc0

Browse files
committed
CoreApp: Do not catch exception in RenderActionAsync
1 parent b886aa1 commit 3087fc0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Griddly.Mvc/NetCore/HtmlHelperViewExtensions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ private static async Task<IHtmlContent> RenderActionAsync(this IHtmlHelper helpe
8484
return new HtmlString(reader.ReadToEnd());
8585
}
8686
}
87-
catch (Exception ex)
88-
{
89-
return new HtmlString(ex.Message);
90-
}
87+
//catch (Exception ex)
88+
//{
89+
// return new HtmlString(ex.Message);
90+
//}
9191
finally
9292
{
9393
actionContextAccessor.ActionContext = originalActionContext;

0 commit comments

Comments
 (0)