-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaned up Throwable try catches #3280
Conversation
@RecursivePineapple could you rebase this PR and address the comments if you're still interested in working on it? |
@serenibyss sure, I'm working on something else right now but I can work on it later |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall a nice cleanup, just a couple that I'm hesitant on
src/main/java/gregtech/api/metatileentity/BaseMetaPipeEntity.java
Outdated
Show resolved
Hide resolved
src/main/java/gregtech/common/tileentities/machines/basic/MTEScanner.java
Outdated
Show resolved
Hide resolved
@RecursivePineapple any update here? |
This removes a large number of Throwable try/catches. Several important try/catches were given a better error message.
This was tested in the latest nightly and it worked fine. I placed a few machines to make sure nothing important was broken, although many of the try/catches had no explanation. If they prevented a crash due to a bug, I have no way of verifying that the bug is still present.