summaryrefslogtreecommitdiffstats
path: root/src/main.lib/RenewalCreator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.lib/RenewalCreator.cs')
-rw-r--r--src/main.lib/RenewalCreator.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.lib/RenewalCreator.cs b/src/main.lib/RenewalCreator.cs
index 2928bfa..69131e5 100644
--- a/src/main.lib/RenewalCreator.cs
+++ b/src/main.lib/RenewalCreator.cs
@@ -116,9 +116,10 @@ namespace PKISharp.WACS
_exceptionHandler.HandleException(message: $"No target plugin could be selected");
return;
}
- if (targetPluginOptionsFactory.Disabled.Item1)
+ var (targetPluginDisabled, targetPluginDisabledReason) = targetPluginOptionsFactory.Disabled;
+ if (targetPluginDisabled)
{
- _exceptionHandler.HandleException(message: $"Target plugin {targetPluginOptionsFactory.Name} is not available. {targetPluginOptionsFactory.Disabled.Item2}");
+ _exceptionHandler.HandleException(message: $"Target plugin {targetPluginOptionsFactory.Name} is not available. {targetPluginDisabledReason}");
return;
}
var targetPluginOptions = runLevel.HasFlag(RunLevel.Unattended) ?