mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
The great logger.Error cleanup!
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user