From cc6f1946cc35f79c7ccec86f25d07f1120bdac02 Mon Sep 17 00:00:00 2001 From: Lucas Wojciechowski Date: Fri, 4 Dec 2015 12:27:54 -0800 Subject: [PATCH] Ensure vector tile error messages get passed all the way up --- js/source/vector_tile_source.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/source/vector_tile_source.js b/js/source/vector_tile_source.js index ebd37e98628..d640f5a7d24 100644 --- a/js/source/vector_tile_source.js +++ b/js/source/vector_tile_source.js @@ -75,7 +75,7 @@ VectorTileSource.prototype = util.inherit(Evented, { return; if (err) { - this.fire('tile.error', {tile: tile}); + this.fire('tile.error', {tile: tile, error: err}); return; }