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

HaltException: disable stack traces and suppression. #963

Merged
merged 1 commit into from Jun 11, 2018
Merged

HaltException: disable stack traces and suppression. #963

merged 1 commit into from Jun 11, 2018

Conversation

ncruces
Copy link
Contributor

@ncruces ncruces commented Jan 5, 2018

Exceptions for flow control are generally frowned upon.

Having done this myself though, disabling stack traces on these at least helps with the performance implications of using exceptions this way.

Since HaltException is not supposed to be caught or logged, stack traces are pretty pointless anyway.

@perwendel perwendel merged commit e198dff into perwendel:master Jun 11, 2018
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.

None yet

2 participants