Skip to content

Commit

Permalink
Ensure vector tile error messages get passed all the way up
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Wojciechowski committed Dec 4, 2015
1 parent 23f7b2f commit a4d9d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/source/vector_tile_source.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a4d9d34

Please sign in to comment.