Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.19.0
-
None
-
Unknown
Description
When Salesforce API returns 404 status indicating that an SObject could not be found using one of the operations for retrieving the SObjects, it should throw an more descriptive SalesforceException, for instance NoSuchSObjectException.
Also add an option that would return null in case of 404 status instead of throwing an exception, with the default to throw the exception.
Attachments
Issue Links
- is related to
-
CAMEL-11078 camel-salesforce - Expose HTTP status and message from REST API responses
- Resolved