aboutsummaryrefslogtreecommitdiff
path: root/src/IvyDaemon.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/IvyDaemon.java')
-rw-r--r--src/IvyDaemon.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/IvyDaemon.java b/src/IvyDaemon.java
index 56019c1..b843a63 100644
--- a/src/IvyDaemon.java
+++ b/src/IvyDaemon.java
@@ -119,7 +119,11 @@ public class IvyDaemon implements Runnable {
while (true) {
msg=in.readLine();
if (msg==null) break;
- bus.sendMsg(msg);
+ try {
+ bus.sendMsg(msg);
+ } catch (IvyException ie) {
+ System.out.println("incorrect characters whithin the message. Not sent");
+ }
}
} catch (IOException ioe) {
traceDebug("Subreader exception ...");