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.
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.