mirror of
https://github.com/hanzoai/jube-fork.git
synced 2026-10-30 18:33:33 +00:00
39 lines
1.6 KiB
Plaintext
Executable File
39 lines
1.6 KiB
Plaintext
Executable File
@* Copyright (C) 2022-present Jube Holdings Limited
|
|
*
|
|
* This file is part of Jube™ software.
|
|
*
|
|
* Jube™ is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License
|
|
* as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
|
* Jube™ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
|
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
|
|
|
|
* You should have received a copy of the GNU Affero General Public License along with Jube™. If not,
|
|
* see <https://www.gnu.org/licenses/>.
|
|
*@
|
|
@page
|
|
@model Jube.App.Pages.ErrorModel
|
|
@{
|
|
ViewData["Title"] = "Error";
|
|
}
|
|
|
|
<h1 class="text-danger">Error.</h1>
|
|
<h2 class="text-danger">An error occurred while processing your request.</h2>
|
|
|
|
@if (Model.ShowRequestId)
|
|
{
|
|
<p>
|
|
<strong>Request ID:</strong> <code>@Model.RequestId</code>
|
|
</p>
|
|
}
|
|
|
|
<h3>Development Mode</h3>
|
|
<p>
|
|
Swapping to the <strong>Development</strong> environment displays detailed information about the error that occurred.
|
|
</p>
|
|
<p>
|
|
<strong>The Development environment 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.
|
|
</p>
|