keep playing with logging

This commit is contained in:
Cassie Tarakajian 2018-01-08 14:57:49 -05:00
parent faae16d930
commit 9cf50aa8d5
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ Project.count({}).exec().then((numProjects) => {
client.moveObject(params) client.moveObject(params)
.on('err', (err) => { .on('err', (err) => {
console.log('in error event function'); console.log('in error event function');
console.log(err); // console.log(err);
fileCb(); fileCb();
}) })
.on('end', () => { .on('end', () => {
@ -70,7 +70,7 @@ Project.count({}).exec().then((numProjects) => {
}); });
} catch(e) { } catch(e) {
console.log('in catch function'); console.log('in catch function');
console.log(e); // console.log(e);
fileCb(); fileCb();
} }
} else { } else {