I assume this gets called on any deferred.reject from above? if so maybe console.log the errors?