aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dbi_discreet.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/dbi_discreet.rb')
-rw-r--r--lib/sisu/v3/dbi_discreet.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/sisu/v3/dbi_discreet.rb b/lib/sisu/v3/dbi_discreet.rb
index 8f7f0c53..c808dbcc 100644
--- a/lib/sisu/v3/dbi_discreet.rb
+++ b/lib/sisu/v3/dbi_discreet.rb
@@ -133,7 +133,11 @@ module SiSU_DBI_Discreet #% database building
sdb_import.marshal_load
tell=SiSU_Screen::Ansi.new(@opt.cmd,"sqlite3 #{db.sqlite.db} database?")
tell.puts_grey if @opt.cmd =~/v/
- rescue; SiSU_Errors::InfoError.new($!,$@,'-d').error; sdb.output_dir?
+ rescue
+ SiSU_Errors::InfoError.new($!,$@,'-d').error do
+ __LINE__.to_s + ':' + __FILE__
+ end
+ sdb.output_dir?
end
end
def read_sqlite
@@ -149,7 +153,9 @@ module SiSU_DBI_Discreet #% database building
SiSU_Screen::Ansi.new(@opt.cmd,"DBI (#{@sql_type}) #{@opt.mod}",@opt.fns).dbi_title unless @opt.cmd =~/q/
@db.sqlite_discreet.conn_sqlite3
rescue
- SiSU_Errors::InfoError.new($!,$@,@cf,@opt.fns).error
+ SiSU_Errors::InfoError.new($!,$@,@cf,@opt.fns).error do
+ __LINE__.to_s + ':' + __FILE__
+ end
ensure
end
end