mirror of
https://github.com/Readarr/Readarr.git
synced 2026-03-27 17:54:43 -04:00
Don't log sqlite errors as errors to avoid logging to the database
This commit is contained in:
@@ -32,7 +32,7 @@ namespace NzbDrone.Host.Owin
|
||||
|
||||
public override void Write(string value)
|
||||
{
|
||||
if (value.ToLower().Contains("error"))
|
||||
if (value.ToLower().Contains("error") && !value.ToLower().Contains("sqlite"))
|
||||
{
|
||||
_logger.Error(value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user