diff --git a/src/Recyclarr.Cli/Pipelines/QualityProfile/PipelinePhases/QualityProfileConfigPhase.cs b/src/Recyclarr.Cli/Pipelines/QualityProfile/PipelinePhases/QualityProfileConfigPhase.cs index 99abbf01..2ed261fb 100644 --- a/src/Recyclarr.Cli/Pipelines/QualityProfile/PipelinePhases/QualityProfileConfigPhase.cs +++ b/src/Recyclarr.Cli/Pipelines/QualityProfile/PipelinePhases/QualityProfileConfigPhase.cs @@ -23,8 +23,6 @@ public class QualityProfileConfigPhase public IReadOnlyCollection Execute(IServiceConfiguration config) { - // todo: error & throw when there are duplicate profiles in config - ProcessLegacyResetUnmatchedScores(config); // 1. For each group of CFs that has a quality profile specified diff --git a/src/Recyclarr.TrashLib/Cache/CacheException.cs b/src/Recyclarr.TrashLib/Cache/CacheException.cs index 806095a4..4381aa32 100644 --- a/src/Recyclarr.TrashLib/Cache/CacheException.cs +++ b/src/Recyclarr.TrashLib/Cache/CacheException.cs @@ -1,9 +1,17 @@ +using System.Runtime.Serialization; + namespace Recyclarr.TrashLib.Cache; +[Serializable] public class CacheException : Exception { public CacheException(string? message) : base(message) { } + + protected CacheException(SerializationInfo info, StreamingContext context) + : base(info, context) + { + } }