Fix indent level

This commit is contained in:
sinn3r 2013-01-07 13:36:55 -06:00
parent e1885cab0b
commit b53e8c794f
1 changed files with 8 additions and 8 deletions

View File

@ -215,14 +215,14 @@ module Auxiliary::HttpCrawler
rescue ::Timeout::Error
# Bubble this up to the top-level handler
raise $!
rescue ::Exception => e
# Ridiculous f'ing anonymous timeout exception which I've no idea
# how it comes into existence.
if e.to_s =~ /execution expired/
raise ::Timeout::Error
else
print_error("Crawler Exception: #{url} #{e} #{e.backtrace}")
end
rescue ::Exception => e
# Ridiculous f'ing anonymous timeout exception which I've no idea
# how it comes into existence.
if e.to_s =~ /execution expired/
raise ::Timeout::Error
else
print_error("Crawler Exception: #{url} #{e} #{e.backtrace}")
end
ensure
@crawler.shutdown rescue nil
@crawler = nil