simplified this method to only do the rendering, rather than have the `use_default_error_rendering` flag which complicated things