[Suggestion] Don't fail when exporting things
See original GitHub issueIssue Description:
A very poor title, but: Currently if a block/biome/liquid/whatever is improperly made and doesn’t have an appropriate name-getting function, the entire export command will fail. Instead, I think it should catch the exception, but continue to export the list, with a different attempt to get the name, or just a warning in chat and in the file.
Example:
[04:36:38] [Server thread/WARN] [minecraft/CommandHandler]: Couldn't process command: ct blocks
java.lang.NoClassDefFoundError: net/minecraft/client/resources/I18n
at exterminatorjeff.undergroundbiomes.common.block.wall.UBStoneWall.getLocalizedName(UBStoneWall.java:75) ~[UBStoneWall.class:?]
at crafttweaker.mc1120.block.MCBlockDefinition.getDisplayName(MCBlockDefinition.java:39) ~[MCBlockDefinition.class:?]
at crafttweaker.mc1120.commands.Commands$2.executeCommand(Commands.java:80) ~[Commands$2.class:?]
What happens:
Entire export command fails.
What you expected to happen:
Error is noted and the offending thing is skipped.
Affected Versions (Do not use “latest”):
- Minecraft: 1.12.2
- Forge: 14.23.4.2760
- Crafttweaker: 1.12-4.1.10
- Using a server: Yes
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
6 Risks Of Exporting Manufactured Goods - Thomas Blog
What happens when, worst of all, a customer refuses to pay? A legal team savvy in local protocol is not just a recommendation...
Read more >Ten common mistakes first-time exporters make and how to ...
Many good product portfolios fail on export because of a lack of understanding of the target market, consumer behaviour and poor market segmentation....
Read more >A Basic Guide to Exporting - International Trade Administration
Exported before, but things have changed? Need answers, but not sure how or where to get them? This is the book you need....
Read more >export type * from 'somewhere' #48508 - GitHub
This crashes at runtime for a slightly different reason -- there is no foo.js to re-export, so the export * fails entirely. (The...
Read more >Export failed - Find solutions - English - Shotcut Forum
Suggestion posted: “Try without changing ANY export settings and see if it works. If not then only turn OFF Parallel processing and try...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t think we should fix others mistakes, if we do, then they won’t fix it.
As the log says, it can’t find the I18N class, in the CLIENT package, from the SERVER thread