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)
|
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 {
|
||||||
|
|
Loading…
Reference in a new issue