mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
The great logger.Error cleanup!
This commit is contained in:
@@ -85,7 +85,7 @@ namespace NzbDrone.Core.Datastore
|
||||
|
||||
if (result.Count != idList.Count())
|
||||
{
|
||||
throw new ApplicationException("Expected query to return {0} rows but returned {1}".Inject(idList.Count(), result.Count));
|
||||
throw new ApplicationException($"Expected query to return {idList.Count} rows but returned {result.Count}");
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace NzbDrone.Core.Datastore.Migration.Framework
|
||||
|
||||
public void Error(Exception exception)
|
||||
{
|
||||
_logger.Error(exception, exception.Message);
|
||||
_logger.Error(exception);
|
||||
}
|
||||
|
||||
public void Write(string message, bool escaped)
|
||||
|
||||
Reference in New Issue
Block a user