You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, I don't like that I now croak on errors in a single reply, and just return the strings in a multi bulk, but for now this works so I pushed it up here. I'm going to look at doing the returns differently in the future while hopefully not hosing BC.
AnyEvent::Redis uses an AE::R::Error object, which can be batched as well as returned alone. One of the multitude of exception classes might serve you.
SV * _read_bulk_reply (Redis__hiredis self, redisReply *reply) {
SV *sv;
if ( reply->type == REDIS_REPLY_ERROR ) {
croak("%s",reply->str);
}
When you use MULTI/EXEC, bulk replies can include errors.
The text was updated successfully, but these errors were encountered: