mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
The great logger.Error cleanup!
This commit is contained in:
parent
e45d4f60a4
commit
73840dcacc
73 changed files with 201 additions and 208 deletions
|
@ -68,8 +68,7 @@ namespace NzbDrone.Core.MediaFiles
|
|||
|
||||
catch (Exception ex)
|
||||
{
|
||||
var errorMessage = string.Format("Unable to cleanup EpisodeFile in DB: {0}", episodeFile.Id);
|
||||
_logger.Error(ex, errorMessage);
|
||||
_logger.Error(ex, "Unable to cleanup EpisodeFile in DB: {0}", episodeFile.Id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue