diff --git a/lib/cartodb/middleware/vector-error.js b/lib/cartodb/middleware/vector-error.js index 3da6ff3b..df9f170d 100644 --- a/lib/cartodb/middleware/vector-error.js +++ b/lib/cartodb/middleware/vector-error.js @@ -1,6 +1,9 @@ const fs = require('fs'); -const timeoutErrorVectorTile = fs.readFileSync(__dirname + '/../../../assets/render-timeout-fallback.mvt', {encoding: null}); +const timeoutErrorVectorTile = fs.readFileSync( + __dirname + '/../../../assets/render-timeout-fallback.mvt', + { encoding: null } +); module.exports = function vectorError() { return function vectorErrorMiddleware(err, req, res, next) { @@ -13,8 +16,8 @@ module.exports = function vectorError() { } next(err); - } -} + }; +}; function isRenderTimeoutError (err) {