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:
parent
41a57b7ba5
commit
40b360555f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user