mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-23 02:25:19 +01:00
Merge pull request #153 from HugoDaBosss/patch
Make Metadata Rewriter exception output more clear
This commit is contained in:
commit
736a853a85
@ -118,12 +118,14 @@ public class MetadataRewriter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (type != null) {
|
System.out.println("INCLUDE THIS IN YOUR ERROR LOG!");
|
||||||
|
if (type != null)
|
||||||
System.out.println("An error occurred with entity meta data for " + type + " OldID: " + entry.oldID);
|
System.out.println("An error occurred with entity meta data for " + type + " OldID: " + entry.oldID);
|
||||||
if (metaIndex != null) {
|
else
|
||||||
System.out.println("Old ID: " + metaIndex.getIndex() + " New ID: " + metaIndex.getNewIndex());
|
System.out.println("An error occurred with entity meta data for UNKOWN_ENTITY OldID: " + entry.oldID);
|
||||||
System.out.println("Old Type: " + metaIndex.getOldType() + " New Type: " + metaIndex.getNewType());
|
if (metaIndex != null) {
|
||||||
}
|
System.out.println("Old ID: " + metaIndex.getIndex() + " New ID: " + metaIndex.getNewIndex());
|
||||||
|
System.out.println("Old Type: " + metaIndex.getOldType() + " New Type: " + metaIndex.getNewType());
|
||||||
}
|
}
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user