jeremyross commented on pull request #6549:
URL: https://github.com/apache/camel/pull/6549#issuecomment-996224328


   Some more context for this. Usually for non-2xx responses from salesforce , 
the response body is very standardized, and we deserialize to `RestError`. With 
these custom Apex REST endpoints that salesforce devs can create, they're free 
to return *anything* in the response content. So the idea is, if the 
deserialization to `RestError` fails or is not meaningful, we can make the 
response content stream available to the route so it's not lost.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to