mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Don't log sqlite errors as errors to avoid logging to the database
This commit is contained in:
parent
9dcd58a631
commit
2ad2859618
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue