From 99965a524e09c324e0820990d4332e9d0df94bbd Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 12 May 2012 00:42:03 -0400 Subject: v3: rescue & error warnings, more touched --- lib/sisu/v3/manpage.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/sisu/v3/manpage.rb') diff --git a/lib/sisu/v3/manpage.rb b/lib/sisu/v3/manpage.rb index 0571a0e6..76e6721e 100644 --- a/lib/sisu/v3/manpage.rb +++ b/lib/sisu/v3/manpage.rb @@ -94,7 +94,10 @@ module SiSU_Manpage @dal_array=SiSU_DAL::Source.new(@opt).get # dal file drawn here SiSU_Manpage::Source::Scroll.new(@md,@dal_array).songsheet SiSU_Env::InfoSkin.new(@md).select #watch - rescue; SiSU_Errors::InfoError.new($!,$@,@opt.cmd,@opt.fns).error + rescue + SiSU_Errors::InfoError.new($!,$@,@opt.cmd,@opt.fns).error do + __LINE__.to_s + ':' + __FILE__ + end ensure end end -- cgit v1.2.3 From 5dace95567352f850f147cd911dd9846940caa17 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 12 May 2012 00:44:04 -0400 Subject: v3: reporting, composite file names touched --- lib/sisu/v3/manpage.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sisu/v3/manpage.rb') diff --git a/lib/sisu/v3/manpage.rb b/lib/sisu/v3/manpage.rb index 76e6721e..f034cdd3 100644 --- a/lib/sisu/v3/manpage.rb +++ b/lib/sisu/v3/manpage.rb @@ -85,7 +85,7 @@ module SiSU_Manpage path=@env.path.output_tell tool=(@opt.cmd =~/[MVv]/) \ ? "#{@env.program.text_editor} #{@md.file.output_path.manpage.dir}/#{@md.file.base_filename.manpage}" - : "[#{@opt.f_pth[:lng_is]}] #{@opt.fns}" + : "[#{@opt.f_pth[:lng_is]}] #{@opt.fno}" @opt.cmd=~/[MVvz]/ \ && @opt.cmd !~/q/ \ ? SiSU_Screen::Ansi.new(@opt.cmd,'Manpage',tool).green_hi_blue -- cgit v1.2.3