express error handler for dev updated