diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-08-21 23:09:51 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-08-21 23:09:51 -0400 |
commit | bd4e38f4a8c31242caf7d7cbfd3a083a263752b8 (patch) | |
tree | b88ef3bbd128dfd8e1bc583ce586cdf626b19774 /lib/sisu/v5/xhtml.rb | |
parent | v4 v5: fuchsia (sp.) (diff) |
v4 v5: rescued error messages
Diffstat (limited to 'lib/sisu/v5/xhtml.rb')
-rw-r--r-- | lib/sisu/v5/xhtml.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v5/xhtml.rb b/lib/sisu/v5/xhtml.rb index 3bb332ce..1a194139 100644 --- a/lib/sisu/v5/xhtml.rb +++ b/lib/sisu/v5/xhtml.rb @@ -97,7 +97,7 @@ module SiSU_XHTML end SiSU_XHTML::Source::Songsheet.new(@particulars).song rescue - SiSU_Errors::InfoError.new($!,$@,@opt.cmd,@opt.fns).error do + SiSU_Errors::Rescued.new($!,$@,@opt.cmd,@opt.fns).location do __LINE__.to_s + ':' + __FILE__ end ensure @@ -116,7 +116,7 @@ module SiSU_XHTML SiSU_XHTML::Source::Tidy.new(@md,@file.place_file.xhtml.dir).xml if @md.opt.cmd =~/[vVM]/ # test wellformedness, comment out when not in use SiSU_Rexml::Rexml.new(@md,@file.place_file.xhtml.dir).xml if @md.opt.cmd =~/M/ # test rexml parsing, comment out when not in use #debug rescue - SiSU_Errors::InfoError.new($!,$@,@md.opt.cmd,@md.fns).error do + SiSU_Errors::Rescued.new($!,$@,@md.opt.cmd,@md.fns).location do __LINE__.to_s + ':' + __FILE__ end ensure |