adds Id to panic exception

This commit is contained in:
Shannon
2019-06-12 16:28:33 +10:00
parent 8eafadc29b
commit dec042fce4

View File

@@ -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;