Analysis of captured exception in node.js