log when response map tiles have individual tile errors

for debugging #320
This commit is contained in:
Jon Atkins 2013-06-05 03:37:41 +01:00
parent 266b4cbb95
commit 3b46f5d54e

View File

@ -94,6 +94,10 @@ window.handleDataResponse = function(data, textStatus, jqXHR) {
var ppp = {};
var p2f = {};
$.each(m, function(qk, val) {
if('error' in val) {
console.log('map data tile '+qk+' response error: '+val.error);
}
$.each(val.deletedGameEntityGuids || [], function(ind, guid) {
if(getTypeByGuid(guid) === TYPE_FIELD && window.fields[guid] !== undefined) {
$.each(window.fields[guid].options.vertices, function(ind, vertex) {