rescue when rendering response body