Hiram R. Chirino 2006-06-29 19:52:10 +00:00
parent f7f2a22712
commit 1ca2d6f57a
1 changed files with 5 additions and 3 deletions

View File

@ -256,10 +256,12 @@ public class MulticastDiscoveryAgent implements DiscoveryAgent,Runnable{
String str=new String(packet.getData(),packet.getOffset(),packet.getLength()); String str=new String(packet.getData(),packet.getOffset(),packet.getLength());
processData(str); processData(str);
} }
}catch(SocketTimeoutException se){ } catch(SocketTimeoutException se){
// ignore // ignore
}catch(IOException e){ } catch(IOException e){
log.error("failed to process packet: "+e); if( started.get() ) {
log.error("failed to process packet: "+e);
}
} }
} }
} }