From 778abe96dc33944e5d8e4a6e9df6dd822fb411f8 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Wed, 13 Sep 2023 19:36:01 -0500 Subject: [PATCH] refactor: Remove settings-specific context error msgs --- .../Parsing/ErrorHandling/ConfigContextualMessages.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Recyclarr.TrashLib.Config/Parsing/ErrorHandling/ConfigContextualMessages.cs b/src/Recyclarr.TrashLib.Config/Parsing/ErrorHandling/ConfigContextualMessages.cs index e45ee807..13af23d7 100644 --- a/src/Recyclarr.TrashLib.Config/Parsing/ErrorHandling/ConfigContextualMessages.cs +++ b/src/Recyclarr.TrashLib.Config/Parsing/ErrorHandling/ConfigContextualMessages.cs @@ -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; } }