now handle error in reactRender() , and give more error detail when middleware done