0

Added better error related log lines for corrupt chunks

This commit is contained in:
Andrew Brown
2012-03-27 14:57:42 -04:00
parent af805d4a4b
commit 7a4a257b51
2 changed files with 12 additions and 5 deletions

View File

@@ -942,7 +942,7 @@ class TileSet(object):
except nbt.CorruptionError:
# A warning and traceback was already printed by world.py's
# get_chunk()
logging.debug("Skipping corrupt chunk at %s,%s", chunkx, chunkz)
logging.debug("Skipping the render of corrupt chunk at %s,%s and moving on.", chunkx, chunkz)
except Exception, e:
logging.warning("Could not render chunk %s,%s for some reason. I'm going to ignore this and continue", chunkx, chunkz)
logging.debug("Full error was:", exc_info=1)