diff --git a/WF-WebAdmin/WF-WebAdmin/Pages/Error.cshtml b/WF-WebAdmin/WF-WebAdmin/Pages/Error.cshtml index 8f9fd5d..445ceaf 100644 --- a/WF-WebAdmin/WF-WebAdmin/Pages/Error.cshtml +++ b/WF-WebAdmin/WF-WebAdmin/Pages/Error.cshtml @@ -1,42 +1,42 @@ -@page -@model WF_WebAdmin.Pages.ErrorModel - - - - - - - - Error - - - - - -
-
-

Error.

-

An error occurred while processing your request.

- - @if (Model.ShowRequestId) - { -

- Request ID: @Model.RequestId -

- } - -

Development Mode

-

- Swapping to the Development environment displays detailed information about the error that occurred. -

-

- The Development environment 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. -

-
-
- - - +@page +@model WF_WebAdmin.Pages.ErrorModel + + + + + + + + error + + + + + +
+
+

Error.

+

An error occurred while processing your request.

+ + @if (Model.ShowRequestId) + { +

+ Request ID: @Model.RequestId +

+ } + +

Development Mode

+

+ Swapping to the Development environment displays detailed information about the error that occurred. +

+

+ The Development environment 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. +

+
+
+ + +