Skip to content
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

Error is not written to error output #109

Open
jinek opened this issue Aug 12, 2021 · 0 comments
Open

Error is not written to error output #109

jinek opened this issue Aug 12, 2021 · 0 comments

Comments

@jinek
Copy link

jinek commented Aug 12, 2021

If exception happened while executing gpr it is caught by the catch which just returns code 1

catch (Exception e)

My question is why this catch is needed at all, because runtime aready returns non-zero code by itself, additionally the default handler will write error to error stream and other things, like suggestion to attach the debugger.
Can't we just simply remove it? Does it give any benefits?

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

No branches or pull requests

1 participant