From 074a1741392476b62ccdfc8bec91fff09d0dabb9 Mon Sep 17 00:00:00 2001 From: Shannon Deminick Date: Mon, 18 May 2020 15:15:53 +1000 Subject: [PATCH] Update src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs Co-authored-by: Bjarke Berg --- src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs b/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs index 23dfca3dbc..081473b0b3 100644 --- a/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs +++ b/src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs @@ -22,7 +22,7 @@ namespace Umbraco.Extensions backOfficeControllerType = Assembly.Load("Umbraco.Web.BackOffice")?.GetType("Umbraco.Web.BackOffice.Controllers.BackOfficeController"); if (backOfficeControllerType == null) return "/"; // this would indicate that the installer is installed without the back office } - catch (Exception) + catch { return "/"; // this would indicate that the installer is installed without the back office }