From: David ‘Bombe’ Roden Date: Thu, 9 Jul 2015 05:18:22 +0000 (+0200) Subject: Don’t dump the stack trace X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=16e36bf34004765947d532ca425d2755e092c0e0;p=jFCPlib.git Don’t dump the stack trace --- diff --git a/src/main/java/net/pterodactylus/fcp/quelaton/ClientPutCommandImpl.java b/src/main/java/net/pterodactylus/fcp/quelaton/ClientPutCommandImpl.java index 2796156..eab1632 100644 --- a/src/main/java/net/pterodactylus/fcp/quelaton/ClientPutCommandImpl.java +++ b/src/main/java/net/pterodactylus/fcp/quelaton/ClientPutCommandImpl.java @@ -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) { - e.printStackTrace(); sendMessage(new TestDDAResponse(directory.get(), "failed-to-read")); } }