提交 dbf5efa6 编写于 作者: J Jesse Glick

[JENKINS-41987] Improved message.

上级 d3791e9a
......@@ -102,11 +102,11 @@ public class JnlpSlaveAgentProtocol4 extends AgentProtocol {
// prepare our local identity and certificate
X509Certificate identityCertificate = InstanceIdentityProvider.RSA.getCertificate();
if (identityCertificate == null) {
throw new KeyStoreException("no X509Certificate found; perhaps instance-identity is missing or too old");
throw new KeyStoreException("JENKINS-41987: no X509Certificate found; perhaps instance-identity module is missing or too old");
}
RSAPrivateKey privateKey = InstanceIdentityProvider.RSA.getPrivateKey();
if (privateKey == null) {
throw new KeyStoreException("no RSAPrivateKey found; perhaps instance-identity is missing or too old");
throw new KeyStoreException("JENKINS-41987: no RSAPrivateKey found; perhaps instance-identity module is missing or too old");
}
// prepare our keyStore so we can provide our authentication
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册