1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-31 11:22:06 +00:00

Don't log sqlite errors as errors to avoid logging to the database

This commit is contained in:
Mark McDowall 2014-03-07 12:09:28 -08:00
parent 9dcd58a631
commit 2ad2859618

View file

@ -32,7 +32,7 @@ public override void Write(char[] buffer)
public override void Write(string value)
{
if (value.ToLower().Contains("error"))
if (value.ToLower().Contains("error") && !value.ToLower().Contains("sqlite"))
{
_logger.Error(value);
}