changeset 371:071a1ff9b6bf

debug kex error
author Carl Byington <carl@five-ten-sg.com>
date Mon, 04 Aug 2014 11:42:15 -0700
parents f4d595402a2f
children 20d0a1356c43
files src/ch/ethz/ssh2/Connection.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/Connection.java	Mon Aug 04 11:41:07 2014 -0700
+++ b/src/ch/ethz/ssh2/Connection.java	Mon Aug 04 11:42:15 2014 -0700
@@ -679,7 +679,7 @@
     }
 
     public void close(Throwable t, boolean hard) {
-        log.debug("Connection.close(%s hard=%b)", t.getMessage(), hard);
+        log.debug(String.format("Connection.close(%s hard=%b)", t.getMessage(), hard));
         if (cm != null) {
             cm.closeAllChannels();
         }