diff --git a/src/Orchard.Web/Themes/TheAdmin/Views/ErrorPage.cshtml b/src/Orchard.Web/Themes/TheAdmin/Views/ErrorPage.cshtml new file mode 100644 index 000000000..a6430b1f3 --- /dev/null +++ b/src/Orchard.Web/Themes/TheAdmin/Views/ErrorPage.cshtml @@ -0,0 +1,12 @@ +@* + ErrorPage(string Message, Exception Exception) +*@ + +
+

@Html.TitleForPage(T("Oops. Something went wrong ... sorry"))

+
+

@T("An unhandled exception has occurred and the request was terminated. Please refresh the page. If the error persists, go back").Text

+

@Model.Message

+

@Model.Exception

+
+
diff --git a/src/Orchard.Web/Themes/Themes.csproj b/src/Orchard.Web/Themes/Themes.csproj index a0517d7c1..2a9753c4e 100644 --- a/src/Orchard.Web/Themes/Themes.csproj +++ b/src/Orchard.Web/Themes/Themes.csproj @@ -151,6 +151,9 @@ + + +