Method: WPScan::Error::HTTP#failure_details
- Defined in:
- lib/wpscan/errors/http.rb
#failure_details ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/wpscan/errors/http.rb', line 14 def failure_details msg = response.effective_url msg += if response.code.zero? || response.timed_out? " (#{response.})" else " (status: #{response.code})" end msg end |