Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
supercaracal committed Sep 27, 2024
1 parent 7fd680b commit f8ec76c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pubsub
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module PubSubDebug

def handle_errors(role)
yield
rescue RedisClient::CannotConnectError, RedisClient::Cluster::InitialSetupError, RedisClient::Cluster::NodeMightBeDown => e
rescue RedisClient::ConnectionError, RedisClient::Cluster::InitialSetupError, RedisClient::Cluster::NodeMightBeDown => e
log "#{role}: recv: #{e.class}"
rescue RedisClient::CommandError => e
log "#{role}: recv: #{e.class}: #{e.message}"
Expand Down

0 comments on commit f8ec76c

Please sign in to comment.