Fix Log Statement Grouping in FreeSpaceSpec

Fixes #4184
This commit is contained in:
Qstick
2020-02-23 13:07:56 -05:00
committed by GitHub
parent b0afbce97c
commit c7dfd9dcf1

View File

@@ -55,11 +55,11 @@ namespace NzbDrone.Core.MediaFiles.MovieImport.Specifications
}
catch (DirectoryNotFoundException ex)
{
_logger.Error("Unable to check free disk space while importing. " + ex.Message);
_logger.Error(ex, "Unable to check free disk space while importing.");
}
catch (Exception ex)
{
_logger.Error(ex, "Unable to check free disk space while importing: " + localMovie.Path);
_logger.Error(ex, "Unable to check free disk space while importing: {0}", localMovie.Path);
}
return Decision.Accept();