From dec042fce4dbd1cbeeb33d8dc4794327db2e2098 Mon Sep 17 00:00:00 2001 From: Shannon Date: Wed, 12 Jun 2019 16:28:33 +1000 Subject: [PATCH] adds Id to panic exception --- src/Umbraco.Web/PublishedCache/NuCache/PublishedContent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/PublishedCache/NuCache/PublishedContent.cs b/src/Umbraco.Web/PublishedCache/NuCache/PublishedContent.cs index 1995e8b424..de0c46f6ea 100644 --- a/src/Umbraco.Web/PublishedCache/NuCache/PublishedContent.cs +++ b/src/Umbraco.Web/PublishedCache/NuCache/PublishedContent.cs @@ -278,7 +278,7 @@ namespace Umbraco.Web.PublishedCache.NuCache { var content = getById(publishedSnapshot, IsPreviewing, id); if (content == null) - throw new Exception("panic: failed to get content"); + throw new Exception("panic: failed to get content " + id); yield return content;