From 519bad74d7bec6afaf6fbe31ac4352c2a7d75899 Mon Sep 17 00:00:00 2001 From: Toshimichi0915 Date: Sun, 17 Dec 2023 22:43:21 +0900 Subject: [PATCH] Remove stack trace --- .../java/net/toshimichi/threescan/scanner/ScanPacketHandler.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/net/toshimichi/threescan/scanner/ScanPacketHandler.java b/src/main/java/net/toshimichi/threescan/scanner/ScanPacketHandler.java index 4957891..be3768d 100644 --- a/src/main/java/net/toshimichi/threescan/scanner/ScanPacketHandler.java +++ b/src/main/java/net/toshimichi/threescan/scanner/ScanPacketHandler.java @@ -200,7 +200,6 @@ public void parseStatus(ScanContext context, S2CStatusPacket packet) throws IOEx result.setDescription(description.getAsString()); } } catch (Exception e) { - e.printStackTrace(); throw new InvalidStatusException("Failed to parse server status: " + e.getMessage() + " while scanning " + target.getHost() + ":" + target.getPort()); }