Lint
This commit is contained in:
parent
065f9c0a53
commit
63c95df81c
@ -66,10 +66,10 @@ function isMaxWaitingClientsError (err) {
|
||||
function populateLimitErrors (errors) {
|
||||
return errors.map(function (error) {
|
||||
if (isMaxWaitingClientsError(error)) {
|
||||
error.message = 'You are over platform\'s limits: Max render capacity exceeded' +
|
||||
error.message = 'You are over platform\'s limits: Max render capacity exceeded.' +
|
||||
' Contact CARTO support for more details.';
|
||||
error.type = 'limit';
|
||||
error.subtype = 'render-capacity'
|
||||
error.subtype = 'render-capacity';
|
||||
error.http_status = 429;
|
||||
|
||||
return error;
|
||||
|
Loading…
Reference in New Issue
Block a user