GregTechCEu / GregTech

GregTech CE 1.12 fork continuing progression and development
GNU Lesser General Public License v3.0
223 stars 166 forks source link

cleanup stacktrace logging for recipe errors #2438

Closed TechLord22 closed 1 month ago

TechLord22 commented 1 month ago

What

Cleans up the code for stacktrace logging for recipe errors. When an object instanceof Throwable is passed as the last format argument in a log message, and there is no format location specified for it in the message string, it will be logged automatically on the subsequent line. This means we can simplify the logging code by quite a bit.

Outcome

Cleans up recipe error logging code.