diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-05-12 00:42:03 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-05-12 00:42:03 -0400 |
commit | 99965a524e09c324e0820990d4332e9d0df94bbd (patch) | |
tree | 3f92a5780184c39039aa87438b8c0a7e8eb76e11 /lib/sisu/v3/composite.rb | |
parent | v3: 3.2.8 version & changelog "opened" (diff) |
v3: rescue & error warnings, more touched
Diffstat (limited to 'lib/sisu/v3/composite.rb')
-rw-r--r-- | lib/sisu/v3/composite.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/sisu/v3/composite.rb b/lib/sisu/v3/composite.rb index ac64b15e..4b70dfe3 100644 --- a/lib/sisu/v3/composite.rb +++ b/lib/sisu/v3/composite.rb @@ -111,7 +111,10 @@ module SiSU_Assemble @fns_array=IO.readlines(@opt.fno,'') assembled=insertions? write(assembled) - 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 @@ -240,7 +243,10 @@ module SiSU_Assemble @opt.fns=@opt.fns.gsub(/\.ssm\.sst$/,'.ssm') #FIX earlier, hub @fns_array=IO.readlines(@opt.fns,'') files=insertions? - 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 |