From 55e375db181b283d5639acb13bf901af189f3147 Mon Sep 17 00:00:00 2001 From: Simon <63975668+Simyon264@users.noreply.github.com> Date: Thu, 22 Aug 2024 01:58:46 +0200 Subject: [PATCH] Clarify error page --- ReplayBrowser/Pages/Error.razor | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/ReplayBrowser/Pages/Error.razor b/ReplayBrowser/Pages/Error.razor index e24aca3..59631b4 100644 --- a/ReplayBrowser/Pages/Error.razor +++ b/ReplayBrowser/Pages/Error.razor @@ -14,15 +14,14 @@

} -

Development Mode

+

Debug Mode

- Swapping to Development environment will display more detailed information about the error that occurred. + Swapping to Debug configuration will display more detailed information about the error that occurred.

- The Development environment shouldn't be enabled for deployed applications. + The debug configuration shouldn't be enabled for deployed applications. It can result in displaying sensitive information from exceptions to end users. - For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development - and restarting the app. + For local debugging, enable the debug configuration by setting the appending --Configuration Debug to the dotnet run command.

@code{