Fixed: Group sentry NRE events across platforms

pull/6/head
Tom Andrews 6 years ago
parent 1c63b04eb3
commit 26d1d78204

@ -267,7 +267,8 @@ namespace NzbDrone.Common.Instrumentation.Sentry
if (message.IsNotNullOrWhiteSpace() && message.Length < 200) if (message.IsNotNullOrWhiteSpace() && message.Length < 200)
{ {
sentryFingerprint.Add(message); // Windows gives a trailing '.' for NullReferenceException but mono doesn't
sentryFingerprint.Add(message.TrimEnd('.'));
} }
} }
} }

Loading…
Cancel
Save