mirror of https://github.com/Radarr/Radarr
Fixed: Spec Logging Statement Causing Sentry Duplicates
This commit is contained in:
parent
9ad17a04ff
commit
ab7083d263
|
@ -174,12 +174,10 @@ namespace NzbDrone.Core.MediaFiles.MovieImport
|
|||
_logger.Warn(e, "Spec " + spec.ToString() + " currently does not implement evaluation for movies.");
|
||||
return null;
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception ex)
|
||||
{
|
||||
//e.Data.Add("report", remoteEpisode.Report.ToJson());
|
||||
//e.Data.Add("parsed", remoteEpisode.ParsedEpisodeInfo.ToJson());
|
||||
_logger.Error(e, "Couldn't evaluate decision on " + localMovie.Path);
|
||||
return new Rejection(string.Format("{0}: {1}", spec.GetType().Name, e.Message));
|
||||
_logger.Error(ex, "Couldn't evaluate decision on {0}", localMovie.Path);
|
||||
return new Rejection($"{spec.GetType().Name}: {ex.Message}");
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue