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
No error is reported when user queries file is not valid #342
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/wrouesnel/postgres_exporter/blob/aeec47ead4ad3941cf1b6588b1ac5a44ca9e9c4b/cmd/postgres_exporter/postgres_exporter.go#L542-L546
Not sure if it's supposed to
return err
and log it somewhere else, orreturn nil
and log it right here, since it is being ignored otherwise.The text was updated successfully, but these errors were encountered: