diff --git a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs index f88173afe..54d2cc337 100644 --- a/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs +++ b/src/NzbDrone.Common/Instrumentation/Sentry/SentryTarget.cs @@ -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('.')); } } }