Skip to content

Commit c66bbdc

Browse files
authored
Revert "Issue: #39, AsyncIntercept Exceptions"
1 parent 88183c1 commit c66bbdc

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;
105106
this.AfterInvoke(invocationClone);
106107
this.AfterInvoke(invocationClone, t);
107-
invocationClone.ReturnValue = t.Result;
108108
return (TResult)invocationClone.ReturnValue;
109109
});
110110
}

0 commit comments

Comments
 (0)