Fix Log Statement Grouping in FreeSpaceSpec

Fixes #4184
pull/2/head
Qstick 5 years ago committed by GitHub
parent b0afbce97c
commit c7dfd9dcf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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();

Loading…
Cancel
Save