Fixed: Replace one stupid hack with another.

pull/6/head
Qstick 6 years ago
parent 9f9441788c
commit 8465c2d227

@ -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
}
}
}
}
}

@ -105,11 +105,6 @@ namespace NzbDrone.Core.Datastore
return dataMapper;
});
if (db.Migration > 100) //Quick DB Migration Check. This should get rid of users on old DB format
{
throw new CorruptDatabaseException("Invalid DB, Please Delete and Restart Lidarr");
}
return db;
}

Loading…
Cancel
Save