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

Improve error handling on darwin #47

Merged
merged 1 commit into from
Oct 11, 2016

Conversation

tsg
Copy link

@tsg tsg commented Oct 11, 2016

Errors were ignored in fairly dangerous places, which could result
in infinite loops. Potential fix for elastic/beats#2747.

Errors were ignored in fairly dangerous places, which could result
in infinite loops. Potential fix for elastic/beats#2747.
@tsg tsg added the review label Oct 11, 2016
@codecov-io
Copy link

codecov-io commented Oct 11, 2016

Current coverage is 70.76% (diff: 11.11%)

Merging #47 into master will decrease coverage by 1.74%

@@             master        #47   diff @@
==========================================
  Files            10         10          
  Lines           793       1081   +288   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            575        765   +190   
- Misses          178        257    +79   
- Partials         40         59    +19   

Powered by Codecov. Last update 2716c1f...af4c1bd

@monicasarbu
Copy link

LGTM

@monicasarbu monicasarbu merged commit eeb33bf into elastic:master Oct 11, 2016
@@ -364,10 +364,16 @@ func kern_procargs(pid int,
if exe != nil {
exe(string(chop(path)))
}
if err != nil {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this error check be even before the exe part?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, would be better, I'll create another PR.

tsg pushed a commit to tsg/gosigar that referenced this pull request Oct 11, 2016
ruflin pushed a commit that referenced this pull request Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants