Fixed: Group sentry NRE events across platforms

This commit is contained in:
Tom Andrews 2019-03-10 22:55:13 +00:00
parent 1c63b04eb3
commit 26d1d78204

View file

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