Remove debug code
[jFCPlib.git] / 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) {