1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,11 +55,11 @@ public Decision IsSatisfiedBy(LocalMovie localMovie, DownloadClientItem download
} }
catch (DirectoryNotFoundException ex) 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) 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(); return Decision.Accept();