Commit 23769e4b authored by Rafael S Castilho's avatar Rafael S Castilho
Browse files

atempt to log errors for next time

parent b26c3172
......@@ -39,7 +39,10 @@ ds.automigrate(lbTables, function(err) {
loadRelationsFromOldDB(old_db.get_cursoDisciplina, app.models.Curso, "disciplinas", LOG_CREATE),
],
function(err) {
if (err) throw err;
if (err) {
console.log(err)
throw err;
}
ds.disconnect();
})
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment