We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4934f47 commit 3af05f4Copy full SHA for 3af05f4
src/main/java/redis/clients/jedis/Connection.java
@@ -175,13 +175,10 @@ public void connect() {
175
176
outputStream = new RedisOutputStream(socket.getOutputStream());
177
inputStream = new RedisInputStream(socket.getInputStream());
178
- } catch (IOException ex) {
+ } catch (Exception ex) {
179
broken = true;
180
throw new JedisConnectionException("Failed connecting to "
181
+ socketFactory.getDescription(), ex);
182
- } catch(Exception ex) {
183
- broken = true;
184
- throw ex;
185
}
186
187
0 commit comments