Adding error handler for both errors passed to next() as well as thrown errors
Adding note on how to do additional debugging with stack traces, but not enabling stack traces by default