The second mistake never rushes and is not caught. You add an error before adding an anonymous function as a request end event handler.
Even if you did, they wonβt catch him, because he really is on another stack. You must raise an error event if you want to work this way, or simply pass the error as the first callback parameter to any callback function. (These are general agreements, not mandates.)
source share