add more logging
This commit is contained in:
parent
b4833a6fb1
commit
faae16d930
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue