Since the encoder should have already encoded the response, we need to encode any errors that are rescued. This allows the server to always grab an encoded response from the env and not worry about anything else.