Remove debug code
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Wed, 8 Jul 2015 19:20:01 +0000 (21:20 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Wed, 8 Jul 2015 19:20:01 +0000 (21:20 +0200)
src/main/java/net/pterodactylus/fcp/quelaton/FcpReplySequence.java

index 03d1b0b..9b2db2a 100644 (file)
@@ -68,12 +68,7 @@ public abstract class FcpReplySequence<R> implements AutoCloseable, FcpListener
        protected abstract boolean isFinished();
 
        public ListenableFuture<R> send(FcpMessage fcpMessage) throws IOException {
-               try {
                fcpConnection.addFcpListener(this);
-
-               } catch (Throwable throwable) {
-                       throwable.printStackTrace();
-               }
                fcpConnection.sendMessage(fcpMessage);
                return executorService.submit(() -> {
                        synchronized (syncObject) {