은승우

Update app.js

Showing 1 changed file with 3 additions and 1 deletions
......@@ -60,7 +60,9 @@ console.log(res.statusCode);
Promise
.all(req.body.events.map(handleEvent))
.then((result) => res.json(result))
.catch((err)=>{console.log(err);})
.catch((err)=>{console.log(err);
console.log(err.response)
})
});
// event handler
function handleEvent(event) {
......