lib/scanner/plugins/http/file_presence.rb in yawast-0.5.0.beta6 vs lib/scanner/plugins/http/file_presence.rb in yawast-0.5.0.beta7

- old
+ new

@@ -166,10 +166,12 @@ if res.code == '200' @results.push "'#{uri.path}' found: #{uri}" end rescue => e - Yawast::Utilities.puts_error "Error searching for file '#{uri.path}' (#{e.message})" + unless e.message.include?('end of file') || e.message.include?('getaddrinfo') + Yawast::Utilities.puts_error "Error searching for file '#{uri.path}' (#{e.message})" + end end end end end end