Fix error in receiving loop.

This commit is contained in:
Peter Boraros 2011-11-09 01:41:39 +01:00
parent e43c3fcbd5
commit 2d97b930f6

View file

@ -50,7 +50,7 @@ public class MessageVerifier implements Runnable {
socket.shutdownInput(); socket.shutdownInput();
socket.close(); socket.close();
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); System.err.println("ERROR: " + e.getMessage());
} }
} }
@ -65,6 +65,7 @@ public class MessageVerifier implements Runnable {
} }
catch (Throwable t) { catch (Throwable t) {
System.err.println("ERROR: " + t.getMessage()); System.err.println("ERROR: " + t.getMessage());
break;
} }
} }
} }