Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit faae16d

Browse files
committed
add more logging
1 parent b4833a6 commit faae16d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/migrations/s3UnderUser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Project.count({}).exec().then((numProjects) => {
5656
try {
5757
client.moveObject(params)
5858
.on('err', (err) => {
59+
console.log('in error event function');
5960
console.log(err);
6061
fileCb();
6162
})
@@ -68,6 +69,7 @@ Project.count({}).exec().then((numProjects) => {
6869
});
6970
});
7071
} catch(e) {
72+
console.log('in catch function');
7173
console.log(e);
7274
fileCb();
7375
}

0 commit comments

Comments
 (0)