From 736004d88bcf37fa86b2989e6d43fe4ab1f4059d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Sun, 17 May 2020 18:03:04 +0200 Subject: [PATCH] Don't fill in stacktrace for ServiceError --- .../src/main/java/com/plotsquared/core/uuid/ServiceError.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/src/main/java/com/plotsquared/core/uuid/ServiceError.java b/Core/src/main/java/com/plotsquared/core/uuid/ServiceError.java index b33bd1509..0e248a2c5 100644 --- a/Core/src/main/java/com/plotsquared/core/uuid/ServiceError.java +++ b/Core/src/main/java/com/plotsquared/core/uuid/ServiceError.java @@ -40,4 +40,8 @@ public class ServiceError extends RuntimeException { super(message, cause); } + @Override public Throwable fillInStackTrace() { + return this; + } + }