aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/composite.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/composite.rb')
-rw-r--r--lib/sisu/v3/composite.rb10
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