We make different XML-RPC web services calls to perform different tasks, e.g. calling moodle_user_create_users to create user accounts in Moodle.
Assuming we are going to create 100 user accounts in one XML-RPC call. The first 10 accounts are created successfully.
However, as the 11th account is already created in the Moodle system before, an exception is then thrown by Moodle and the first 10 accounts are roll-back.
May i ask if it is possible to change this exception behavior? Instead of throwing an exception by Moodle immediately when creating the 11th account,
can Moodle continue to perform the action and return the final result after creating the 100th account? That is, all accounts are created successfully except the 11th account.
Thank you very much.