Skip to content

Commit 43bde3a

Browse files
committed
Removed my Integration Tests and removed pemkey file from error message
1 parent afd3aa4 commit 43bde3a

File tree

3 files changed

+1
-34
lines changed

3 files changed

+1
-34
lines changed

src/it/java/net/juniper/netconf/IntegrationTest.java

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/it/java/net/juniper/netconf/NetconfSessionIT.java

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/main/java/net/juniper/netconf/Device.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ private void loadPrivateKey() throws NetconfException {
273273
try {
274274
sshClient.addIdentity(pemKeyFile);
275275
} catch (JSchException e) {
276-
throw new NetconfException(String.format("Error parsing the pemKeyFile (%s): %s", getPemKeyFile(), e.getMessage()));
276+
throw new NetconfException(String.format("Error parsing the pemKeyFile: %s", e.getMessage()));
277277
}
278278
}
279279

0 commit comments

Comments
 (0)