We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93c77cb commit 2402423Copy full SHA for 2402423
src/Sentry.NLog/SentryTarget.cs
@@ -332,7 +332,7 @@ protected override void Write(LogEventInfo logEvent)
332
data = data ?? new Dictionary<string, string>(contextProps.Count);
333
foreach (var contextProp in contextProps)
334
{
335
- data.Add(contextProp.Key, contextProp.Value.ToString());
+ data.Add(contextProp.Key, contextProp.Value?.ToString());
336
}
337
338
0 commit comments