jedis icon indicating copy to clipboard operation
jedis copied to clipboard

Pipeline's response should contain specific exceptions rather than JedisDataException

Open spicy-sauce opened this issue 3 years ago • 1 comments

Expected behavior

Pipeline's responses contain the text retrieved by Redis with a generic JedisDataException as a text. Would be better to throw specific errors for OOM for example and other expected issues.

Actual behavior

A generic JedisDataException is part of the response with the retrieved result.

spicy-sauce avatar Mar 30 '22 09:03 spicy-sauce

Hello, is there any progress on this? We need this functionality too.

LoonyRules avatar Jul 22 '22 18:07 LoonyRules

Until Redis itself is not defining such error with specific code, Jedis is not going to define exception base on error messages which may be changed/edited without any notice.

sazzad16 avatar Aug 16 '23 15:08 sazzad16