Fix issues with added PanicException

This commit is contained in:
Ronald Barendse
2019-11-15 09:15:12 +01:00
859 changed files with 31488 additions and 22622 deletions

View File

@@ -6,6 +6,7 @@ using Umbraco.Core.IO;
using Umbraco.Core.Logging;
using Umbraco.Core.Migrations.Install;
using Umbraco.Web.JavaScript;
using Umbraco.Web.Mvc;
using Umbraco.Web.Security;
namespace Umbraco.Web.Install.Controllers
@@ -35,6 +36,7 @@ namespace Umbraco.Web.Install.Controllers
}
[HttpGet]
[StatusCodeResult(System.Net.HttpStatusCode.ServiceUnavailable)]
public ActionResult Index()
{
if (_runtime.Level == RuntimeLevel.Run)

View File

@@ -25,7 +25,7 @@ namespace Umbraco.Web.Install
/// The view model.
/// </value>
/// <remarks>
/// This object should be serializable to prevent a <see cref="SerializationException" /> to be thrown.
/// This object is not included when serializing.
/// </remarks>
public object ViewModel { get; private set; }