File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/redis/clients/jedis Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1717import redis .clients .jedis .commands .SampleBinaryKeyedCommands ;
1818import redis .clients .jedis .commands .SampleKeyedCommands ;
1919import redis .clients .jedis .commands .RedisModuleCommands ;
20- import redis .clients .jedis .exceptions .JedisAccessControlException ;
20+ import redis .clients .jedis .exceptions .JedisException ;
2121import redis .clients .jedis .executors .*;
2222import redis .clients .jedis .graph .GraphCommandObjects ;
2323import redis .clients .jedis .graph .ResultSet ;
@@ -98,7 +98,8 @@ public UnifiedJedis(ConnectionProvider provider) {
9898 RedisProtocol proto = conn .getRedisProtocol ();
9999 if (proto != null ) commandObjects .setProtocol (proto );
100100 }
101- } catch (JedisAccessControlException ace ) {
101+ //} catch (JedisAccessControlException ace) {
102+ } catch (JedisException je ) { // TODO: use specific exception(s)
102103 // use default protocol
103104 }
104105 }
You can’t perform that action at this time.
0 commit comments