Fix checkstyle

This commit is contained in:
Aurora Lahtela 2022-09-02 19:30:57 +03:00
parent cbc880c1d3
commit a1a38d5087

View File

@ -111,7 +111,8 @@ public class PluginErrorLogger implements ErrorLogger {
} }
private boolean isExceptionThatShouldNotBeLogged(Throwable throwable) { 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) { private void logToFile(Path errorLog, Throwable throwable, ErrorContext context, String hash) {