DBZ-2106 Fix formatting

This commit is contained in:
Chris Cranford 2020-05-21 14:08:01 -04:00
parent 0139441b09
commit a19d3960f0

View File

@ -24,9 +24,9 @@ public SqlServerErrorHandler(String logicalName, ChangeEventQueue<?> queue) {
@Override
protected boolean isRetriable(Throwable throwable) {
return throwable instanceof SQLServerException
&& (throwable.getMessage().contains("Connection timed out (Read failed)")
|| throwable.getMessage().contains("The connection has been closed.")
|| throwable.getMessage().contains("Connection reset")
|| throwable.getMessage().contains("SHUTDOWN is in progress"));
&& (throwable.getMessage().contains("Connection timed out (Read failed)")
|| throwable.getMessage().contains("The connection has been closed.")
|| throwable.getMessage().contains("Connection reset")
|| throwable.getMessage().contains("SHUTDOWN is in progress"));
}
}