Skip to content

Commit a213616

Browse files
committed
copied command line support from OHDM here.
1 parent ee1593c commit a213616

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/net/sharksystem/asap/protocol/ASAPPersistentConnection.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public void run() {
209209
this.asapInternalPeer.pushInterests(this.os);
210210
} catch (IOException | ASAPException e) {
211211
this.terminate("error when pushing interest: ", e);
212-
e.printStackTrace();
212+
//e.printStackTrace();
213213
return;
214214
}
215215

@@ -432,7 +432,8 @@ public void run() {
432432
os.close(); // more important to close than input stream - do it first
433433
is.close();
434434
} catch (IOException ex) {
435-
ex.printStackTrace();
435+
Log.writeLog(this, ex.getLocalizedMessage());
436+
//ex.printStackTrace();
436437
}
437438
}
438439
finally {

0 commit comments

Comments
 (0)