From 553948781486bed2e2a6cef046e56be78f4855fc Mon Sep 17 00:00:00 2001 From: Grant Echols Date: Mon, 6 Jul 2015 15:07: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 43285d4d..960d91d9 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 - error:", tile, tile.url, errorMsg ); + $.console.log( "Tile %s failed to load: %s - error: %s", tile, tile.url, errorMsg ); if( !tiledImage.debugMode ){ tile.loading = false; tile.exists = false;