lib/arxutils_sqlite3/dbutil/dbconnect.rb in arxutils_sqlite3-0.1.53 vs lib/arxutils_sqlite3/dbutil/dbconnect.rb in arxutils_sqlite3-0.1.54

- old
+ new

@@ -47,11 +47,11 @@ # p "dbconfig=#{dbconfig}" # p "@env=#{@env}" ActiveRecord::Base.establish_connection(dbconfig[@env]) ActiveRecord::Base.logger = Logger.new(@log_path) @connect_time = DateTime.now.new_offset - rescue StandardError => ex - p ex.message + rescue StandardError => e + p e.message end end @connect_time end end