diff --git a/lib/cartodb/controllers/template_maps.js b/lib/cartodb/controllers/template_maps.js index eb3fcb7b..be2022a8 100644 --- a/lib/cartodb/controllers/template_maps.js +++ b/lib/cartodb/controllers/template_maps.js @@ -447,9 +447,6 @@ TemplateMapsController.prototype.finish_instantiation = function(err, response, if ( ! _.isUndefined(err.http_status) ) { statusCode = err.http_status; } - if(global.environment.debug) { - response.stack = err.stack; - } this.app.sendError(res, response, statusCode, 'POST INSTANCE TEMPLATE', err); } else { this.app.sendResponse(res, [response, 200]);