Skip to content

Commit

Permalink
Clarify error page
Browse files Browse the repository at this point in the history
  • Loading branch information
Simyon264 committed Aug 21, 2024
1 parent e54d2f9 commit 55e375d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ReplayBrowser/Pages/Error.razor
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@
</p>
}

<h3>Development Mode</h3>
<h3>Debug Mode</h3>
<p>
Swapping to <strong>Development</strong> environment will display more detailed information about the error that occurred.
Swapping to <strong>Debug</strong> configuration will display more detailed information about the error that occurred.
</p>
<p>
<strong>The Development environment shouldn't be enabled for deployed applications.</strong>
<strong>The debug configuration shouldn't be enabled for deployed applications.</strong>
It can result in displaying sensitive information from exceptions to end users.
For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
and restarting the app.
For local debugging, enable the debug configuration by setting the appending <strong>--Configuration Debug</strong> to the <strong>dotnet run</strong> command.
</p>

@code{
Expand Down

0 comments on commit 55e375d

Please sign in to comment.