Don’t dump the stack trace
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 9 Jul 2015 05:18:22 +0000 (07:18 +0200)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Thu, 9 Jul 2015 05:18:22 +0000 (07:18 +0200)
src/main/java/net/pterodactylus/fcp/quelaton/ClientPutCommandImpl.java

index 2796156..eab1632 100644 (file)
@@ -182,7 +182,6 @@ class ClientPutCommandImpl implements ClientPutCommand {
                                        String readContent = Files.readAllLines(new File(testDDAReply.getReadFilename()).toPath()).get(0);
                                        sendMessage(new TestDDAResponse(directory.get(), readContent));
                                } catch (IOException e) {
                                        String readContent = Files.readAllLines(new File(testDDAReply.getReadFilename()).toPath()).get(0);
                                        sendMessage(new TestDDAResponse(directory.get(), readContent));
                                } catch (IOException e) {
-                                       e.printStackTrace();
                                        sendMessage(new TestDDAResponse(directory.get(), "failed-to-read"));
                                }
                        }
                                        sendMessage(new TestDDAResponse(directory.get(), "failed-to-read"));
                                }
                        }