diff --git a/Plan/common/src/main/java/com/djrapitops/plan/utilities/logging/PluginErrorLogger.java b/Plan/common/src/main/java/com/djrapitops/plan/utilities/logging/PluginErrorLogger.java index c50f47e23..975053c22 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/utilities/logging/PluginErrorLogger.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/utilities/logging/PluginErrorLogger.java @@ -111,7 +111,8 @@ public class PluginErrorLogger implements ErrorLogger { } private boolean isExceptionThatShouldNotBeLogged(Throwable throwable) { - return throwable instanceof DBClosedException || (throwable.getCause() != null && isExceptionThatShouldNotBeLogged(throwable.getCause())); + return throwable instanceof DBClosedException + || throwable.getCause() != null && isExceptionThatShouldNotBeLogged(throwable.getCause()); } private void logToFile(Path errorLog, Throwable throwable, ErrorContext context, String hash) {