Skip to content

Replace e.printStackTrace() with proper logging - #369

Draft
keeganwitt wants to merge 1 commit into
groovy:masterfrom
keeganwitt:fix-forked-compiler-logging-14725891680363932054
Draft

Replace e.printStackTrace() with proper logging#369
keeganwitt wants to merge 1 commit into
groovy:masterfrom
keeganwitt:fix-forked-compiler-logging-14725891680363932054

Conversation

@keeganwitt

Copy link
Copy Markdown
Member

Replaced e.printStackTrace() with log.error(e) in ForkedGroovyCompiler. Moved the initialization of the Log instance outside of the try block to ensure it's available in the catch block.

Replaced e.printStackTrace() with log.error(e) in ForkedGroovyCompiler.
Moved the initialization of the Log instance outside of the try block to ensure it's available in the catch block.

Co-authored-by: keeganwitt <64612+keeganwitt@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant