mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Added Notification System, Renamed Repository to Entities
This commit is contained in:
@@ -1,11 +1,25 @@
|
||||
<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<System.Web.Mvc.HandleErrorInfo>" %>
|
||||
|
||||
<%@ Import Namespace="NLog" %>
|
||||
<asp:Content ID="errorTitle" ContentPlaceHolderID="TitleContent" runat="server">
|
||||
Error
|
||||
EPIC FAIL!!!
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ID="errorContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<h2>
|
||||
Sorry, an error occurred while processing your request.
|
||||
<%:Model.Exception.Message%>
|
||||
</h2>
|
||||
<br />
|
||||
<%:Model.Exception.ToString()%>
|
||||
</asp:Content>
|
||||
<script runat="server">
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
LogManager.GetLogger("EPICFAIL").FatalException("Unhandled Exception", Model.Exception);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user