fix: Print score instead of object

json-serializing-nullable-fields-issue
Robert Dailey 8 months ago
parent 9995572314
commit 93c8de9739

@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Service failures (e.g. HTTP 500) no longer cause exceptions (#206).
- Error out when duplicate instance names are used.
- Print score instead of object in duplicate score detection warning
[includes]: https://recyclarr.dev/wiki/yaml/config-reference/include/
[listoption]: http://recyclarr.dev/wiki/cli/config/list/templates/#include

@ -114,7 +114,7 @@ public class QualityProfileConfigPhase
_log.Warning(
"Custom format {Name} ({TrashId}) is duplicated in quality profile {ProfileName} with a score " +
"of {NewScore}, which is different from the original score of {OriginalScore}",
cf.Name, cf.TrashId, scoreConfig.Name, scoreToUse, existingScore);
cf.Name, cf.TrashId, scoreConfig.Name, scoreToUse, existingScore.Score);
}
else
{

Loading…
Cancel
Save