diff --git a/lib/cartodb/controllers/base.js b/lib/cartodb/controllers/base.js index 30883e04..b8b73569 100644 --- a/lib/cartodb/controllers/base.js +++ b/lib/cartodb/controllers/base.js @@ -229,7 +229,7 @@ function stripConnectionInfo(message) { .replace(/is the server.*encountered/im, 'encountered'); } -var ERROR_INFO_TO_EXOSE = { +var ERROR_INFO_TO_EXPOSE = { message: true, layer: true, type: true, @@ -238,7 +238,7 @@ var ERROR_INFO_TO_EXOSE = { }; function shouldBeExposed (prop) { - return !!ERROR_INFO_TO_EXOSE[prop]; + return !!ERROR_INFO_TO_EXPOSE[prop]; } function errorMessage(err) {