Skip to content

Commit

Permalink
remove redundant rescuing of ServerError
Browse files Browse the repository at this point in the history
  • Loading branch information
nickamorim committed Jan 20, 2025
1 parent b9ec8b7 commit a3f2aa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dalli/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def pipelined_getter
end

def pipelined_setter
PipelinedSetter.new(ring, @key_manager)
PipelinedSetter.new(ring)
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/dalli/protocol/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def request(opkey, *args)
rescue Dalli::MarshalError => e
log_marshal_err(args.first, e)
raise
rescue Dalli::DalliError, Dalli::ServerError
rescue Dalli::DalliError
raise
rescue StandardError => e
log_unexpected_err(e)
Expand Down

0 comments on commit a3f2aa9

Please sign in to comment.