Skip to content

Commit c49a457

Browse files
authored
Issue: #39, AsyncIntercept Exceptions
Relates to issue #39 #39
1 parent 0016f03 commit c49a457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Ninject.Extensions.Interception/AsyncInterceptor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ 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
}
111111
}
112112
}
113-
#endif
113+
#endif

0 commit comments

Comments
 (0)