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

#time: record on all block exits. #38

Merged
merged 1 commit into from
Oct 21, 2016
Merged

Conversation

nelhage
Copy link
Contributor

@nelhage nelhage commented Oct 20, 2016

The previous implementation would not report if a block exited via
early-return, or other abnormal terminations (e.g. break or
throw). That is confusing behavior; I expect a time block to always
report the time spend inside the passed the block.

The previous implementation would not report if a block exited via
early-`return`, or other abnormal terminations (e.g. `break` or
`throw`). That is confusing behavior; I expect a `time` block to always
report the time spend inside the passed the block.
@degemer
Copy link
Member

degemer commented Oct 21, 2016

Thank you! Merging it, will be part of the next release.

@degemer degemer merged commit 5134c35 into DataDog:master Oct 21, 2016
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