refactor: Remove settings-specific context error msgs

json-serializing-nullable-fields-issue
Robert Dailey 8 months ago
parent 6585948ba5
commit 778abe96dc

@ -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;
}
}

Loading…
Cancel
Save