Skip to content

Commit ecd316c

Browse files
committed
Applying contribution from blanciq (fixes: #2533)
2 parents 4ded228 + 77a8d07 commit ecd316c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
Evgeniya Polyakova <epolyakova@knoema.com> : Fixed issue #2584
22
Gustavo Rubinsky <grubinsky@yellowspot.com.ar> : Similar fix for issue #2584
3+
blanciq <pawel.olesiejuk@gmail.com> : Fixed issue #2533

DevTrends.MvcDonutCaching/DonutOutputCacheAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public override void OnResultExecuted(ResultExecutedContext filterContext)
105105
return;
106106
}
107107

108-
ExecuteCallback(filterContext, false);
108+
ExecuteCallback(filterContext, filterContext.Exception != null);
109109

110110
if (!filterContext.IsChildAction)
111111
{

0 commit comments

Comments
 (0)