The great logger.Error cleanup!

This commit is contained in:
Keivan Beigi
2017-01-05 15:32:17 -08:00
parent e45d4f60a4
commit 73840dcacc
73 changed files with 201 additions and 208 deletions
@@ -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;