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
@@ -117,8 +117,7 @@ namespace NzbDrone.Core.MediaFiles
}
catch (IOException e)
{
var message = string.Format("Unable to move '{0}' to the recycling bin: '{1}'", path, destination);
_logger.Error(e, message);
_logger.Error(e, "Unable to move '{0}' to the recycling bin: '{1}'", path, destination);
throw;
}