1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-05 09:10:53 +01:00

rate limit message on 429

This commit is contained in:
Kyle Spearrin 2018-07-12 11:52:55 -04:00
parent 24d608d365
commit f6a5979334

View File

@ -14,6 +14,10 @@ export class ErrorResponse {
if (errorModel) {
this.message = errorModel.Message;
this.validationErrors = errorModel.ValidationErrors;
} else {
if (status === 429) {
this.message = 'Rate limit exceeded. Try again later.';
}
}
this.statusCode = status;
}