Commit 92bcf9d0 authored by Dave Machado's avatar Dave Machado
Browse files

Sort final failfure array for easy reading

parent 263d095c
......@@ -47,8 +47,8 @@ links.each do |link|
fails.push("(SSL): #{link}")
rescue SocketError
fails.push("(SOK): #{link}")
rescue
fails.push("(ERR): #{link}")
rescue Errno::ECONNREFUSED
fails.push("(CON): #{link}")
end
progressbar.increment
end
......@@ -58,6 +58,7 @@ if fails.length <= 0
exit(0)
else
puts "-- RESULTS --"
fails.sort!
fails.each do |e|
puts e
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment