source: Farmatiko/Pages/Error.cshtml@ 30a465f

Last change on this file since 30a465f was 30a465f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 2 years ago

Initial commit

  • Property mode set to 100644
File size: 856 bytes
Line 
1@page
2@model ErrorModel
3@{
4 ViewData["Title"] = "Error";
5}
6
7<h1 class="text-danger">Error.</h1>
8<h2 class="text-danger">An error occurred while processing your request.</h2>
9
10@if (Model.ShowRequestId)
11{
12 <p>
13 <strong>Request ID:</strong> <code>@Model.RequestId</code>
14 </p>
15}
16
17<h3>Development Mode</h3>
18<p>
19 Swapping to the <strong>Development</strong> environment displays detailed information about the error that occurred.
20</p>
21<p>
22 <strong>The Development environment shouldn't be enabled for deployed applications.</strong>
23 It can result in displaying sensitive information from exceptions to end users.
24 For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>
25 and restarting the app.
26</p>
Note: See TracBrowser for help on using the repository browser.