Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Log exceptions before closing the ThreadLocalPrintStream #162

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

timcharper
Copy link

Currently, all output is completely swallowed in the try-with-resources catch
statements for NGSession.runImpl, as the output streams are closed before the
catch blocks are run. With this change, we add an additional inner try so that
we can log the exceptions before the PrintStreams are closed.

Currently, all output is completely swallowed in the try-with-resources catch
statements for NGSession.runImpl, as the output streams are closed before the
catch blocks are run. With this change, we add an additional inner try so that
we can log the exceptions before the PrintStreams are closed.
@styurin styurin force-pushed the master branch 2 times, most recently from 495eff8 to 948c51c Compare April 25, 2019 02:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant