public
Description: Yet Another Planet Refactoring
Homepage: http://intertwingly.net/blog/2007/12/19/Yet-Another-Planet-Refactoring
Clone URL: git://github.com/rubys/mars.git
Search Repo:
Exception is not a subclass of StandardError, so it won't be caught
by no-argument rescue.  libxml throws raw Exceptions when it encounters
an ill formed feed, causing the feed to be skipped rather than parsed
with html5.
Scott Bronson (author)
Mon Mar 31 19:10:26 -0700 2008
commit  567e2f3f459d446f0530bbd4c8acb00dde378420
tree    14439a223eb04b900de386cae3223c0f739eac21
parent  a73655d50340530915144220e4737eed3b306147
...
31
32
33
34
 
35
36
37
...
31
32
33
 
34
35
36
37
0
@@ -31,7 +31,7 @@
0
           doc = REXML::Document.new source
0
         end
0
         bozo = false
0
- rescuee
0
+ rescue Exception => e
0
         # If everything is being bozo'd, enable this to see why.
0
         # print "PARSE ERROR: #{$!}\n #{$!.backtrace.join("\n ")}\n"
0
 

Comments

    No one has commented yet.