|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
using System;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
@ -164,6 +164,14 @@ namespace NzbDrone.Common.Instrumentation.Sentry
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Fix openflixr being stupid with permissions
|
|
|
|
|
var serverName = sentryEvent.Contexts.Device.Name.ToLower();
|
|
|
|
|
|
|
|
|
|
if (serverName == "openflixr")
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (logEvent.Exception != null)
|
|
|
|
|
{
|
|
|
|
|
sentryEvent.Fingerprint.Add(logEvent.Exception.GetType().FullName);
|
|
|
|
@ -191,4 +199,4 @@ namespace NzbDrone.Common.Instrumentation.Sentry
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|