Skip to content

Commit 9aeebbe

Browse files
committed
restore missing returns
1 parent 988bda1 commit 9aeebbe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/src/main/java/io/split/engine/sse/client/SSEClient.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,11 @@ private void connectAndLoop(URI uri, CountDownLatch signal) {
118118
}
119119
// Connection closed by server
120120
_statusCallback.apply(StatusMessage.RETRYABLE_ERROR);
121+
return;
121122
} catch (IOException exc) { // Other type of connection error
122123
_log.warn(exc.getMessage());
123124
_statusCallback.apply(StatusMessage.RETRYABLE_ERROR);
125+
return;
124126
}
125127
}
126128
} catch (Exception e) { // Any other error non related to the connection disables streaming altogether

0 commit comments

Comments
 (0)