We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementations ContextEvaluatorExtensions.EvaluateAsync for async Action uses the next method:
public static Task EvaluateAsync<TBLLContext, TDTOMappingService>(this IContextEvaluator<TBLLContext, TDTOMappingService> contextEvaluator, DBSessionMode sessionMode, string customPrincipalName, Func<EvaluatedData<TBLLContext, TDTOMappingService>, Task> action) { return contextEvaluator.EvaluateAsync(sessionMode, customPrincipalName, evaluatedData => action(evaluatedData).ContinueWith(_ => default(object))); }
that hides internal exception, ASP will not handle the next Exception:
[HttpGet] public async Task GetException( [FromServices] IContextEvaluator<ICPortalBLLContext> contextEvaluator, CancellationToken cancellationToken) { await contextEvaluator.EvaluateAsync( DBSessionMode.Write, async c => { await Task.Delay(200); throw new Exception(); }); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Implementations ContextEvaluatorExtensions.EvaluateAsync for async Action uses the next method:
that hides internal exception, ASP will not handle the next Exception:
The text was updated successfully, but these errors were encountered: