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

Fix error printing to stderr char by char #449

Merged
merged 5 commits into from
Sep 30, 2019

Conversation

dabcoder
Copy link
Contributor

@dabcoder dabcoder commented Sep 26, 2019

The current error handling would result in the errors and warnings from the API JSON response to be printed to stderr character by character (when the API would return a string and not a list).

@dabcoder dabcoder marked this pull request as ready for review September 27, 2019 08:41
@dabcoder dabcoder requested a review from a team as a code owner September 27, 2019 08:41
datadog/dogshell/common.py Outdated Show resolved Hide resolved
@dabcoder dabcoder force-pushed the davidb/dogshell-fix-error-stderr branch from 34bd311 to e2706a9 Compare September 27, 2019 12:40
datadog/dogshell/common.py Outdated Show resolved Hide resolved
datadog/dogshell/common.py Outdated Show resolved Hide resolved
datadog/dogshell/common.py Outdated Show resolved Hide resolved
Copy link
Contributor

@zippolyte zippolyte left a comment

Choose a reason for hiding this comment

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

💯

@dabcoder
Copy link
Contributor Author

/azp run DataDog.datadogpy.integration

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 449 in repo DataDog/datadogpy

@zippolyte
Copy link
Contributor

/azp run DataDog.datadogpy.integration

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@zippolyte zippolyte merged commit 27d3da3 into DataDog:master Sep 30, 2019
@dabcoder dabcoder deleted the davidb/dogshell-fix-error-stderr branch September 30, 2019 11:21
dabcoder pushed a commit to dabcoder/datadogpy that referenced this pull request Oct 25, 2019
dabcoder pushed a commit to dabcoder/datadogpy that referenced this pull request Nov 28, 2019
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