mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 09:00:28 +08:00
Fix checkstyle
This commit is contained in:
parent
cbc880c1d3
commit
a1a38d5087
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user