From 9d64c4e5516dcbd5350ee1a0a87e2fb84befcf9e Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Mon, 11 Mar 2019 14:45:48 +0100 Subject: [PATCH] Bugfix CoreRuntime (cherry picked from commit 2209b37a4a41381d4659a9fdd1c41cf65adfdc42 and 7f31ddc250ea833c3e76f3c1e7f41baba20a4501) --- src/Umbraco.Core/Runtime/CoreRuntime.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Core/Runtime/CoreRuntime.cs b/src/Umbraco.Core/Runtime/CoreRuntime.cs index 7462ecdf67..f00365496a 100644 --- a/src/Umbraco.Core/Runtime/CoreRuntime.cs +++ b/src/Umbraco.Core/Runtime/CoreRuntime.cs @@ -168,7 +168,7 @@ namespace Umbraco.Core.Runtime _state.BootFailedException = bfe; } - timer.Fail(exception: bfe); // be sure to log the exception - even if we repeat ourselves + timer?.Fail(exception: bfe); // be sure to log the exception - even if we repeat ourselves // if something goes wrong above, we may end up with no factory // meaning nothing can get the runtime state, etc - so let's try @@ -242,7 +242,7 @@ namespace Umbraco.Core.Runtime } catch { - timer.Fail(); + timer?.Fail(); throw; } }