add more logging

This commit is contained in:
Cassie Tarakajian 2018-01-08 14:44:32 -05:00
parent b4833a6fb1
commit faae16d930

View file

@ -56,6 +56,7 @@ Project.count({}).exec().then((numProjects) => {
try { try {
client.moveObject(params) client.moveObject(params)
.on('err', (err) => { .on('err', (err) => {
console.log('in error event function');
console.log(err); console.log(err);
fileCb(); fileCb();
}) })
@ -68,6 +69,7 @@ Project.count({}).exec().then((numProjects) => {
}); });
}); });
} catch(e) { } catch(e) {
console.log('in catch function');
console.log(e); console.log(e);
fileCb(); fileCb();
} }