error handling improvement.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3344 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-05-19 08:20:41 +00:00
1 parent 2309e7f6aa
commit 4c8a2e5418
1 file changed
+2
@@ -143,6 +143,8 @@ public class TcpSlaveAgentListener extends Thread {
if(protocol.equals("JNLP-connect"))
runJnlpConnect(in, out);
}
error(out, "Unrecognized protocol: "+s);
} catch (InterruptedException e) {
LOGGER.log(Level.WARNING,"Connection #"+id+" aborted",e);
try {