lib/aerospike/command/read_command.rb in aerospike-0.1.3 vs lib/aerospike/command/read_command.rb in aerospike-0.1.5
- old
+ new
@@ -66,11 +66,11 @@
size_buffer_sz(receive_size)
begin
@conn.read(@data_buffer, receive_size)
rescue => e
- Aerospike.logger.warn("parse result error: #{e}")
+ Aerospike.logger.error("parse result error: #{e}")
raise e
end
end
@@ -80,10 +80,10 @@
if result_code == Aerospike::ResultCode::UDF_BAD_RESPONSE
begin
@record = parse_record(op_count, field_count, generation, expiration)
handle_udf_error(result_code)
rescue => e
- Aerospike.logger.warn("UDF execution error: #{e}")
+ Aerospike.logger.error("UDF execution error: #{e}")
raise e
end
end