mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 22:56:11 +03:00
Added error message tracking into the tile loading mechanism. This exposes the reason for the error in the console.log message
This commit is contained in:
parent
9629f47c2c
commit
5539487814
@ -1022,7 +1022,7 @@ function loadTile( tiledImage, tile, time ) {
|
|||||||
|
|
||||||
function onTileLoad( tiledImage, tile, time, image, errorMsg ) {
|
function onTileLoad( tiledImage, tile, time, image, errorMsg ) {
|
||||||
if ( !image ) {
|
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 ){
|
if( !tiledImage.debugMode ){
|
||||||
tile.loading = false;
|
tile.loading = false;
|
||||||
tile.exists = false;
|
tile.exists = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user