Skip to content

Commit

Permalink
Update Redis.pm
Browse files Browse the repository at this point in the history
confess => croak
  • Loading branch information
dams committed Apr 29, 2014
1 parent 516c8e2 commit 319d4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Redis.pm
Expand Up @@ -422,7 +422,7 @@ sub wait_for_messages {

do {
my ($reply, $error) = $self->__read_response('WAIT_FOR_MESSAGES');
confess "[WAIT_FOR_MESSAGES] $error, " if defined $error;
croak "[WAIT_FOR_MESSAGES] $error, " if defined $error;
$self->__process_pubsub_msg($reply);
$count++;

Expand Down

0 comments on commit 319d4dc

Please sign in to comment.