make jshint happy
This commit is contained in:
parent
cda9a09b8e
commit
1ea4fc50c9
@ -1,6 +1,9 @@
|
|||||||
const fs = require('fs');
|
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() {
|
module.exports = function vectorError() {
|
||||||
return function vectorErrorMiddleware(err, req, res, next) {
|
return function vectorErrorMiddleware(err, req, res, next) {
|
||||||
@ -13,8 +16,8 @@ module.exports = function vectorError() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
next(err);
|
next(err);
|
||||||
}
|
};
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
function isRenderTimeoutError (err) {
|
function isRenderTimeoutError (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user