-
Notifications
You must be signed in to change notification settings - Fork 10.3k
ErrorPageOptions in beta6 #861
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
Comments
ErrorPageOptions still live in Diagnostics, so I checked it in Object Viewer but couldn't find "ShowAll". After reading the intellisense description I solved the problem with:
This worked and seems to be the way to show all errors in beta6. |
Correct, most of the configuration was removed from EPO. Note you don't need the public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
// Add the following to the request pipeline only in development environment.
if (env.IsDevelopment())
{
app.UseErrorPage();
}
else
{
// Add Error handling middleware which catches all application specific errors and
// sends the request to the following path or controller action.
app.UseErrorHandler("/Home/Error");
}
// ... |
You used to be able to configure which parts of the error page you wanted to show with |
thx for the clarification, very helpful. |
After updating the ASP.Net5 WebApp project template to beta6 I have the following issue in Startup.cs:
This line throws 'ErrorPageOptions' does not contain a definition for 'ShowAll'. Any idea, how this is handled in beta6?
The text was updated successfully, but these errors were encountered: