you always needs to catch and console.error any error, something like:
```javascript
.catch(function(err) {
  err && console.error('Unexpected error while resending the MMS message', err) 
});
```