Permalink
Browse files

better error message when LWP::protocol::https is missing

  • Loading branch information...
1 parent da35460 commit e47e60d5eee6020b46a341fafb6010e02505cb4e @sni committed Jun 3, 2011
Showing with 5 additions and 2 deletions.
  1. +3 −0 Webinject/Changes
  2. +2 −2 Webinject/lib/Webinject.pm
View
@@ -7,6 +7,9 @@ For information and documentation, visit the website at http://www.webinject.org
---------------------------------
Release History:
+Version 1.69 - ...
+ - better error message when LWP::protocol::https is missing
+
Version 1.68 - Tue May 31 14:25:35 CEST 2011
- add warning if parsed result does not match
- made overwriting default options in check_webinject possible
@@ -31,7 +31,7 @@ use Error qw(:try); # for web services verification (you may comment
use Data::Dumper; # dump hashes for debugging
use File::Temp qw/ tempfile /; # create temp files
-our $VERSION = '1.68';
+our $VERSION = '1.69';
=head1 NAME
@@ -1054,7 +1054,7 @@ sub _verify {
{
push @{$case->{'messages'}}, {'key' => 'verifyresponsecode-success', 'value' => 'false', 'html' => '<span class="fail">Failed - No Response</span>' };
push @{$case->{'messages'}}, {'key' => 'verifyresponsecode-messages', 'value' => 'Failed - No Response' };
- $self->_out("Failed - No Response \n"); #($1$2) is HTTP response code
+ $self->_out("Failed - No valid HTTP response:\n".$response->as_string());
}
$case->{'failedcount'}++;
$self->{'result'}->{'iscritical'} = 1;

0 comments on commit e47e60d

Please sign in to comment.