Write error message to response body.
Write response body with write() method instead of end() method.
Write Not found message in write() method instead of end() method.