diff options
author | Wouter Tinus <win.acme.simple@gmail.com> | 2020-02-05 21:00:44 +0100 |
---|---|---|
committer | Wouter Tinus <win.acme.simple@gmail.com> | 2020-02-05 21:00:44 +0100 |
commit | 72b7d33d7cf0dc9eb0856b51319fee9948ca3a19 (patch) | |
tree | 0bc7260273793cd9c4c7d8e6f20d0217bef1268d /src/main.lib/Services/InputService.cs | |
parent | 7aa5ceebbd8c872efdc38c52fe7cbfce83db5270 (diff) | |
download | letsencrypt-win-simple-72b7d33d7cf0dc9eb0856b51319fee9948ca3a19.zip letsencrypt-win-simple-72b7d33d7cf0dc9eb0856b51319fee9948ca3a19.tar.gz letsencrypt-win-simple-72b7d33d7cf0dc9eb0856b51319fee9948ca3a19.tar.bz2 |
Be more specific about reasons for disabling options
Diffstat (limited to 'src/main.lib/Services/InputService.cs')
-rw-r--r-- | src/main.lib/Services/InputService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.lib/Services/InputService.cs b/src/main.lib/Services/InputService.cs index bc5204c..0dd4ed2 100644 --- a/src/main.lib/Services/InputService.cs +++ b/src/main.lib/Services/InputService.cs @@ -375,7 +375,8 @@ namespace PKISharp.WACS.Services if (selected != null && selected.Disabled) { - _log.Warning("The option you have chosen is currently disabled. Run as Administator to enable all features."); + var disabledReason = selected.DisabledReason ?? "Run as Administator to enable all features."; + _log.Warning($"The option you have chosen is currently disabled. {disabledReason}"); selected = null; } } |