Skip to content
New issue

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

Suggestion for docs (when using UseExceptionHandler) #176

Open
VoidMonk opened this issue Nov 30, 2019 · 0 comments
Open

Suggestion for docs (when using UseExceptionHandler) #176

VoidMonk opened this issue Nov 30, 2019 · 0 comments

Comments

@VoidMonk
Copy link

Currently the docs for ASP.NET Core usage with regards to UseExceptional middleware say:

Note that you should call this before anything you want handled, as exceptions will “bubble up” to this point.

But Exceptional doesn't log anything when the app is also using the inbuilt UseExceptionHandler middleware (as shown below).

public void Configure(IApplicationBuilder app)
{
    app.UseExceptional();
    app.UseExceptionHandler("/Error");
}

Please make a note in the docs that when using UseExceptionHandler, UseExceptional must be called after it (not before), for both to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant