Fix log message when incorrect header exception is caught
This commit is contained in:
parent
a0eb5800fd
commit
81f65af3a8
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ module.exports = function(options, repo, params, id, dataResolver) {
|
|||
response.data = zlib.unzipSync(data);
|
||||
}
|
||||
catch (err) {
|
||||
console.log("Skipping incorrect header for tile mbtiles://openmaptiles/%z/%x/%y.pbf", z, x, y);
|
||||
console.log("Skipping incorrect header for tile mbtiles://%s/%s/%s/%s.pbf", id, z, x, y);
|
||||
}
|
||||
if (options.dataDecoratorFunc) {
|
||||
response.data = options.dataDecoratorFunc(
|
||||
|
|
Loading…
Reference in a new issue