Open macfreek opened 5 years ago
I would expect that a malformed NBT file would always raise a nbt.nbt.MalformedFileError. In reality, it may also raise other exceptions. See e.g. https://github.com/Fenixin/Minecraft-Region-Fixer/issues/73#issuecomment-467954849 where a UnicodeDecodeError is raised. Is this something we should fix?
nbt.nbt.MalformedFileError
UnicodeDecodeError
I would expect that a malformed NBT file would always raise a
nbt.nbt.MalformedFileError
. In reality, it may also raise other exceptions. See e.g. https://github.com/Fenixin/Minecraft-Region-Fixer/issues/73#issuecomment-467954849 where aUnicodeDecodeError
is raised. Is this something we should fix?