The great logger.Error cleanup!

This commit is contained in:
Keivan Beigi 2017-01-05 15:32:17 -08:00
commit 73840dcacc
73 changed files with 201 additions and 208 deletions

View file

@ -148,7 +148,7 @@ namespace NzbDrone.Core.Update
}
catch (Exception e)
{
_logger.Error(e, string.Format("Couldn't change the branch from [{0}] to [{1}].", currentBranch, package.Branch));
_logger.Error(e, "Couldn't change the branch from [{0}] to [{1}].", currentBranch, package.Branch);
}
}
}