We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 163cab4 commit 77a8d07Copy full SHA for 77a8d07
DevTrends.MvcDonutCaching/DonutOutputCacheAttribute.cs
@@ -100,7 +100,7 @@ public override void OnActionExecuting(ActionExecutingContext filterContext)
100
101
public override void OnResultExecuted(ResultExecutedContext filterContext)
102
{
103
- ExecuteCallback(filterContext, false);
+ ExecuteCallback(filterContext, hasErrors: filterContext.Exception != null);
104
105
if (!filterContext.IsChildAction)
106
0 commit comments