Skip to content

Commit b53e8c7

Browse files
committed
Fix indent level
1 parent e1885ca commit b53e8c7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/msf/core/auxiliary/crawler.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -215,14 +215,14 @@ def crawl_target(t)
215215
rescue ::Timeout::Error
216216
# Bubble this up to the top-level handler
217217
raise $!
218-
rescue ::Exception => e
219-
# Ridiculous f'ing anonymous timeout exception which I've no idea
220-
# how it comes into existence.
221-
if e.to_s =~ /execution expired/
222-
raise ::Timeout::Error
223-
else
224-
print_error("Crawler Exception: #{url} #{e} #{e.backtrace}")
225-
end
218+
rescue ::Exception => e
219+
# Ridiculous f'ing anonymous timeout exception which I've no idea
220+
# how it comes into existence.
221+
if e.to_s =~ /execution expired/
222+
raise ::Timeout::Error
223+
else
224+
print_error("Crawler Exception: #{url} #{e} #{e.backtrace}")
225+
end
226226
ensure
227227
@crawler.shutdown rescue nil
228228
@crawler = nil

0 commit comments

Comments
 (0)