add error handling in VectorTile