We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33497e3 commit 211939eCopy full SHA for 211939e
lib/Search/Elasticsearch/Role/Cxn.pm
@@ -32,7 +32,6 @@ use IO::Uncompress::Gunzip qw(gunzip $GunzipError);
32
use Search::Elasticsearch::Util qw(to_list);
33
use namespace::clean;
34
use Net::IP;
35
-use Data::Dumper;
36
37
requires qw(perform_request error_from_text handle);
38
@@ -348,7 +347,6 @@ sub process_response {
348
347
# Product check
349
if ( $code >= 200 and $code < 300 ) {
350
my $product = $headers->{$PRODUCT_CHECK_HEADER} // '';
351
- print Dumper($headers);
352
if ($product ne $PRODUCT_CHECK_VALUE) {
353
throw( "ProductCheck", "The client noticed that the server is not Elasticsearch and we do not support this unknown product" );
354
}
0 commit comments