Open AEnterprise opened 9 years ago
Sounds too game specific for me. You have the exception, put your information there.
not always, take for example a multiblock, and it throws a NPE but that's caused by some situation that could only heapen if the multiblock was build in a specific direction, if i knew how to do this (https://github.com/AEnterprise/Kinetic-Revolution/blob/master/src/main/java/kineticrevolution/multiblocks/tileEntities/TileMultiBlockBase.java#L39-L47) then it would have made tracing it down so much easier
my point is that sometimes you might want to be able to put status info in a crash report to help tracing things down as it's often hard to get the specific information from the user
Maybe some kind of debuginfo hook that the mod provides that returns a String[] of stuff to add to the crashreport and maybe F3 menu?
for the crashreport it should only be added if the block in question is the one causing the crash
Yeah, maybe not show it on the F3 screen, but I believe that this would be possible.
With forge you can hook intro crash reports from your TE and add additional data to the crashreport, for complex stuff this can be very helpfull to trace the cause of the issue or to replicate it