aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/xhtml.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-08-21 23:09:51 -0400
committerRalph Amissah <ralph@amissah.com>2013-08-21 23:09:51 -0400
commitbd4e38f4a8c31242caf7d7cbfd3a083a263752b8 (patch)
treeb88ef3bbd128dfd8e1bc583ce586cdf626b19774 /lib/sisu/v4/xhtml.rb
parentv4 v5: fuchsia (sp.) (diff)
v4 v5: rescued error messages
Diffstat (limited to 'lib/sisu/v4/xhtml.rb')
-rw-r--r--lib/sisu/v4/xhtml.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v4/xhtml.rb b/lib/sisu/v4/xhtml.rb
index a62c942f..c4c708ef 100644
--- a/lib/sisu/v4/xhtml.rb
+++ b/lib/sisu/v4/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