You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function (req, uiRes) {
console.log(res) //code that comes after this line is never executed, no errors in console
console.log("something")
client.put('/something', someJSON, function(err, res, body) {...})
}
In the second line I tried to log the object 'res' that is not visible in the context. Strange thing is that the code that follows that line is never executed and there are no errors in console.
Activity
ChALkeR commentedon Nov 22, 2015
Most likely you catch the error somewhere.
Try this:
console.logand check if that gets catched.silverwind commentedon Nov 22, 2015
Got a standalone example?
gavrilovmilos commentedon Nov 22, 2015
Aa yes, sorry, you were right, there is express error handler around it. Everything works fine. Thanks.