|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
using Recyclarr.TrashLib.Settings;
|
|
|
|
|
using YamlDotNet.Core;
|
|
|
|
|
|
|
|
|
|
namespace Recyclarr.TrashLib.Config.Parsing.ErrorHandling;
|
|
|
|
@ -17,16 +16,6 @@ public static class ConfigContextualMessages
|
|
|
|
|
"See: https://recyclarr.dev/wiki/upgrade-guide/v5.0/#reset-unmatched-scores";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (e.Message.Contains(
|
|
|
|
|
"Property 'repository' not found on type " +
|
|
|
|
|
$"'{typeof(SettingsValues).FullName}'"))
|
|
|
|
|
{
|
|
|
|
|
return
|
|
|
|
|
"Usage of 'repository' setting is no " +
|
|
|
|
|
"longer supported. Use 'trash_guides' under 'repositories' instead." +
|
|
|
|
|
"See: https://recyclarr.dev/wiki/upgrade-guide/v5.0/#settings-repository-changes";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|