keep playing with logging
This commit is contained in:
parent
faae16d930
commit
9cf50aa8d5
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ Project.count({}).exec().then((numProjects) => {
|
|||
client.moveObject(params)
|
||||
.on('err', (err) => {
|
||||
console.log('in error event function');
|
||||
console.log(err);
|
||||
// console.log(err);
|
||||
fileCb();
|
||||
})
|
||||
.on('end', () => {
|
||||
|
@ -70,7 +70,7 @@ Project.count({}).exec().then((numProjects) => {
|
|||
});
|
||||
} catch(e) {
|
||||
console.log('in catch function');
|
||||
console.log(e);
|
||||
// console.log(e);
|
||||
fileCb();
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue