commit | d264b4994bc86bfd26e5a52ca383ae0788896912 | [log] [tgz] |
---|---|---|
author | Andrea Campanella <andrea@onlab.us> | Tue Mar 01 09:46:06 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Mar 01 20:04:40 2016 +0000 |
tree | 7d2ebda8b28cd0cccde7e400003555745f9a9ab4 | |
parent | 1c401ee6b827a426dbe0e526921310571b387aec [diff] [blame] |
Exception and Preconditions Netconf Refactoring Change-Id: I3cb4abee2c70138e37160b68418e71bb5f52e1a5
diff --git a/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfStreamThread.java b/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfStreamThread.java index 1ed3f39..f003f7b 100644 --- a/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfStreamThread.java +++ b/protocols/netconf/ctl/src/main/java/org/onosproject/netconf/ctl/NetconfStreamThread.java
@@ -202,7 +202,7 @@ } } } catch (IOException e) { - log.warn("Error in reading from the session for device " + netconfDeviceInfo, e); + log.warn("Error in reading from the session for device {} ", netconfDeviceInfo, e); throw new RuntimeException(new NetconfException("Error in reading from the session for device {}" + netconfDeviceInfo, e)); //TODO should we send a socket closed message to listeners ?