Skip to content

Conversation

@keen99
Copy link
Contributor

@keen99 keen99 commented Sep 22, 2016

another fix for error cases:

before: if stderr is returned, but no stdout, we bail out before we report the stderr content - throwing away the error message that may only be reproducible in the conditions of the collector.

after: if stderr is returned, log it regardless of if we bail. log it as warning, not error, since it's non-blocking.

also removed "skipping" from the proc.returncode - we dont actually bail unless there's no stdout, regardless of return code, so dont tell the user we are.

another fix for error cases:  

before: if stderr is returned, but no stdout, we bail out before we report the stderr content - throwing away the error message that may only be reproducible in the conditions of the collector.

after:  if stderr is returned, log it regardless of if we bail.   log it as warning, not error, since it's non-blocking.
 
also removed "skipping" from the proc.returncode - we dont actually bail unless there's no stdout, regardless of return code, so dont tell the user we are.
also update log message for the no stdout case:  make it error, not info, since we bail - and log that we skip.
shawnbutts added a commit to Netuitive/netuitive-diamond that referenced this pull request Sep 23, 2016
@josegonzalez
Copy link
Member

Seems like there are some pep8 test fails here, mind fixing those up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants