Skip to content

Commit e06a261

Browse files
committed
Improves message on invalid template or host key
Fixes #53
1 parent 344e7e0 commit e06a261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/apis/Get-IcingaDirectorSelfServiceConfig.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function Get-IcingaDirectorSelfServiceConfig()
1010
}
1111

1212
if ([string]::IsNullOrEmpty($ApiKey)) {
13-
throw 'Please enter either a template or your host key';
13+
throw 'Please enter either a template or your host key. If this message persists, ensure your host is not having a template key assigned already. If so, you can try dropping it within the Icinga Director.';
1414
}
1515

1616
$ProgressPreference = "SilentlyContinue";

0 commit comments

Comments
 (0)