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