Forked from
project / salesforce
Source project has a limited visibility.
-
Alexander Rhodes authored
Add check on results return in QueueHandler to avoid error of calling $results->records on non- existant object. Updates RestClient::apiCall to throw RestExceptions in all error cases Updates PullBase to detect RestExceptions from RestClient. Includes test code in PullBase to force exceptions to test new logic. SuspendQueueException may not be the proper Queue Exception to throw - it seems to delete/‘release’ the problematic item when it should be kept so it can be processed fully.
Alexander Rhodes authoredAdd check on results return in QueueHandler to avoid error of calling $results->records on non- existant object. Updates RestClient::apiCall to throw RestExceptions in all error cases Updates PullBase to detect RestExceptions from RestClient. Includes test code in PullBase to force exceptions to test new logic. SuspendQueueException may not be the proper Queue Exception to throw - it seems to delete/‘release’ the problematic item when it should be kept so it can be processed fully.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.