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