Skip to content

Commit 4350ad0

Browse files
authored
Merge pull request #40 from zach-snell/patch-1
Issue: #39, AsyncIntercept Exceptions
2 parents 0016f03 + 0d4fc33 commit 4350ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ninject.Extensions.Interception/AsyncInterceptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ private void InterceptTaskWithResult<TResult>(IInvocation invocation)
102102
}).Unwrap()
103103
.ContinueWith(t =>
104104
{
105-
invocationClone.ReturnValue = t.Result;
106105
this.AfterInvoke(invocationClone);
107106
this.AfterInvoke(invocationClone, t);
107+
invocationClone.ReturnValue = t.Result;
108108
return (TResult)invocationClone.ReturnValue;
109109
});
110110
}

0 commit comments

Comments
 (0)