File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -215,14 +215,14 @@ def crawl_target(t)
215
215
rescue ::Timeout ::Error
216
216
# Bubble this up to the top-level handler
217
217
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
226
226
ensure
227
227
@crawler . shutdown rescue nil
228
228
@crawler = nil
You can’t perform that action at this time.
0 commit comments