MVT: Removed error parsing for empty tiles

This commit is contained in:
Raul Marin 2018-08-31 11:43:31 +02:00
parent 1fe1b5fc4d
commit cd25150056

View File

@ -147,10 +147,6 @@ function incrementErrorMetrics (statsClient) {
function tileError () {
return function tileErrorMiddleware (err, req, res, next) {
if (err.message === 'Tile does not exist' && req.params.format === 'mvt') {
res.statusCode = 204;
return next();
}
// See https://github.com/Vizzuality/Windshaft-cartodb/issues/68
let errMsg = err.message ? ( '' + err.message ) : ( '' + err );