Open VoidMonk opened 4 years ago
Currently the docs for ASP.NET Core usage with regards to UseExceptional middleware say:
UseExceptional
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).
UseExceptionHandler
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.
Currently the docs for ASP.NET Core usage with regards to
UseExceptional
middleware say:But Exceptional doesn't log anything when the app is also using the inbuilt
UseExceptionHandler
middleware (as shown below).Please make a note in the docs that when using
UseExceptionHandler
,UseExceptional
must be called after it (not before), for both to work.