lib/ardb/runner/migrate_command.rb in ardb-0.22.0 vs lib/ardb/runner/migrate_command.rb in ardb-0.22.1
- old
+ new
@@ -19,11 +19,12 @@
Ardb.init
migrate_the_db
rescue Ardb::Runner::CmdError => e
raise e
rescue Exception => e
- $stderr.puts e
$stderr.puts "error migrating #{Ardb.config.db.database.inspect} database"
+ $stderr.puts e
+ $stderr.puts e.backtrace
raise Ardb::Runner::CmdFail
end
end
def migrate_the_db