From 9629f47c2c1adbcf7d59d5872e2d8a32b9578b2d Mon Sep 17 00:00:00 2001 From: Grant Echols Date: Mon, 6 Jul 2015 15:06:00 -0600 Subject: [PATCH] Added error message tracking into the tile loading mechanism. This exposes the reason for the error in the console.log message --- src/tiledimage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tiledimage.js b/src/tiledimage.js index f4f9ee3f..43285d4d 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -1022,7 +1022,7 @@ function loadTile( tiledImage, tile, time ) { function onTileLoad( tiledImage, tile, time, image, errorMsg ) { if ( !image ) { - $.console.log( "Tile %s failed to load: %s", tile.url, errorMsg ); + $.console.log( "Tile %s failed to load: %s - error:", tile, tile.url, errorMsg ); if( !tiledImage.debugMode ){ tile.loading = false; tile.exists = false;