X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-ssh%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Fssh%2Fthreads%2FSocketThread.java;h=32de75ca3969a039bbeb0046fc4c2a7b55d3462d;hp=e5da03b4cf4c9d97765ce098a8c2761b0eda8e39;hb=refs%2Fchanges%2F72%2F4072%2F5;hpb=6397a0f2a8b4e0aecb7c42f589d17cd7511827c3 diff --git a/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/SocketThread.java b/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/SocketThread.java index e5da03b4cf..32de75ca39 100644 --- a/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/SocketThread.java +++ b/opendaylight/netconf/netconf-ssh/src/main/java/org/opendaylight/controller/netconf/ssh/threads/SocketThread.java @@ -59,8 +59,8 @@ public class SocketThread implements Runnable, ServerAuthenticationCallback, Ser conn = new ServerConnection(socket); try { conn.setPEMHostKey(authProvider.getPEMAsCharArray(),"netconf"); - } catch (IOException e) { - e.printStackTrace(); + } catch (Exception e) { + logger.debug("Server authentication setup failed."); } conn.setAuthenticationCallback(this); conn.setServerConnectionCallback(this);