This commit is contained in:
Daniel García Aubert 2019-01-30 16:36:08 +01:00
parent 065f9c0a53
commit 63c95df81c

View File

@ -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;