From 9247e87bbfd2b1458b0ce3a8f27aca88c11bd76a Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Mon, 8 Aug 2022 21:00:33 +0200 Subject: [PATCH] Update InformativeException message --- .../viaversion/exception/InformativeException.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/main/java/com/viaversion/viaversion/exception/InformativeException.java b/api/src/main/java/com/viaversion/viaversion/exception/InformativeException.java index 1f5faff5a..506a58e10 100644 --- a/api/src/main/java/com/viaversion/viaversion/exception/InformativeException.java +++ b/api/src/main/java/com/viaversion/viaversion/exception/InformativeException.java @@ -48,7 +48,7 @@ public class InformativeException extends Exception { @Override public String getMessage() { - StringBuilder builder = new StringBuilder("Please post this error to https://github.com/ViaVersion/ViaVersion/issues and follow the issue template\n{"); + StringBuilder builder = new StringBuilder("Please report this on the Via support Discord or open an issue on the relevant GitHub repository\n"); boolean first = true; for (Map.Entry entry : info.entrySet()) { if (!first) { @@ -57,11 +57,11 @@ public class InformativeException extends Exception { builder.append(entry.getKey()).append(": ").append(entry.getValue()); first = false; } - return builder.append("}\nActual Error: ").toString(); + return builder.toString(); } @Override - public synchronized Throwable fillInStackTrace() { + public Throwable fillInStackTrace() { // Don't record this stack return this; }