1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-05 14:57:30 +01:00

Make the error message a little more useful

This commit is contained in:
James Lee 2014-10-16 12:47:13 -05:00
parent 41a57b7ba5
commit 40b360555f
No known key found for this signature in database
GPG Key ID: 2D6094C7CEA0A321

View File

@ -56,8 +56,9 @@ class Metasploit3 < Msf::Auxiliary
'method' => 'GET',
'uri' => datastore['URI']
}, 20)
rescue
print_error("The Axis2 login page does not exist at #{target_url}")
rescue => e
print_error("Failed to retrieve Axis2 login page at #{target_url}")
print_error("Error: #{e.class}: #{e}")
return
end