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

add logging of serverStatus errors #1065

Merged
merged 1 commit into from Aug 29, 2014
Merged

add logging of serverStatus errors #1065

merged 1 commit into from Aug 29, 2014

Conversation

ghost
Copy link

@ghost ghost commented Aug 1, 2014

The current code does not check if db.serverStatus() returns an error (e.g. insufficient privileges). If that is the case, no message is logged anywhere, so user has no clue why metrics are not being posted. I propose to log a warning with the error message.

The current code does not check if db.serverStatus() returns an error (e.g. insufficient privileges). If that is the case, no message is logged anywhere, so user has no clue why metrics are not being posted. I propose to log a warning with the error message.
@remh
Copy link
Contributor

remh commented Aug 7, 2014

Thanks a lot @igroenewold !

The master branch is now frozen until release of Agent 5.0.0. We'll review and merge for the next release.

@remh remh added this to the 5.1.0 milestone Aug 7, 2014
@remh remh added the 1 - Ready label Aug 18, 2014
@remh
Copy link
Contributor

remh commented Aug 29, 2014

Thanks!

remh added a commit that referenced this pull request Aug 29, 2014
add logging of serverStatus errors
@remh remh merged commit 3bf41f7 into DataDog:master Aug 29, 2014
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.

None yet

1 participant