dotnet / dotnet/aspnetcore

The template error page should recommend checking the server logs.

Open
#33,055 3 comments 0 reactions 0 assignees View on GitHub
area-mvc enhancement feature-templates
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

https://github.com/AzureAD/microsoft-identity-web/issues/1213

When there's an exception in production the default template experience shows the following error page:
https://github.com/dotnet/aspnetcore/blob/af96abad0112a90110c0f2d46104fb2e06ed2de2/src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/Pages/Error.cshtml#L7-L26

This page recommends enabling Development mode to see details, but not to do that in production.

The page should first recommend checking the server logs for the error details and link to instructions on configuring logging.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.