caktus/rapidsms-twilio — pull request #8 by vkurup (2014-12-10 20:30:54+00:00)
Title: Don't raise TwilioRestException

A failure in one number currently causes the remainder of the batch to fail (and if using the DatabaseRouter, causes the entire batch to be retried, usually with the same results leading to duplicate messages for some identities).

This PR keeps track of the failures and returns that, so that the router can optionally do something about it (like mark the individual transmissions as errored in the case of the DatabaseRouter).