lib/aerospike/cluster/cluster.rb in aerospike-2.3.0 vs lib/aerospike/cluster/cluster.rb in aerospike-2.4.0
- old
+ new
@@ -1,7 +1,7 @@
# encoding: utf-8
-# Copyright 2014 Aerospike, Inc.
+# Copyright 2014-2017 Aerospike, Inc.
#
# Portions may be licensed to Aerospike, Inc. under one or more contributor
# license agreements.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
@@ -379,10 +379,10 @@
if aliass == seed
nv = seed_node_validator
else
begin
nv = NodeValidator.new(self, aliass, @connection_timeout, @cluster_name)
- rescue Exection => e
+ rescue => e
Aerospike.logger.error("Seed #{seed.to_s} failed: #{e}")
next
end
end