Skip to content

Commit

Permalink
null check fix (in log message)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendy committed Apr 13, 2019
1 parent 5c2551d commit 6ab0e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Our.Umbraco.Look/Services/LookService_Index.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ internal static void Index(IndexingContext indexingContext, Document document)

if (!indexingContext.Cancelled)
{
LogHelper.Debug(typeof(LookService), $"Building Lucene Document for Id='{indexingContext.Item.Id}', Key='{indexingContext.Item.GetGuidKey()}', Name='{indexingContext.Item.Name}' in Index '{ indexingContext.IndexerName }' Took { stopwatch.ElapsedMilliseconds }ms");
LogHelper.Debug(typeof(LookService), $"Building Lucene Document for Id='{indexingContext.Item?.Id}', Key='{indexingContext.Item?.GetGuidKey()}', Name='{indexingContext.Item?.Name}' in Index '{ indexingContext.IndexerName }' Took { stopwatch.ElapsedMilliseconds }ms");
}
}
}
Expand Down

0 comments on commit 6ab0e75

Please sign in to comment.