Merge pull request #3660 from tgxworld/wrong_message_on_rate_limit
FIX: Rate limit message not shown.
This commit is contained in:
commit
6d6b41dbcc
|
@ -504,7 +504,9 @@ const Composer = RestModel.extend({
|
||||||
return post.save(props).then(function(result) {
|
return post.save(props).then(function(result) {
|
||||||
self.clearState();
|
self.clearState();
|
||||||
return result;
|
return result;
|
||||||
}).catch(rollback);
|
}).catch(function(error) {
|
||||||
|
throw error;
|
||||||
|
});
|
||||||
}).catch(rollback);
|
}).catch(rollback);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue