-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
StackDriver Error reporting payload key is wrong #3315
Comments
here is a code snippet that at least gets the data to show up.
|
Thanks for reporting @bmorgan21, this was fixed in #3299. It seems we should get a release out soon? |
thanks. is there a dev build I can use? vs having to patch the broken code? |
@dhermes Go ahead and cut a release. Thanks! |
@bmorgan21 Kicked off a build https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/1652 that will push the new release to https://pypi.python.org/pypi/google-cloud-error-reporting/0.24.1 |
@dhermes thank you for the quick turnaround. |
https://github.com/GoogleCloudPlatform/google-cloud-python/blob/0.24.0/error_reporting/google/cloud/error_reporting/client.py#L227
I believe this like should set the payload context key to httpRequest and NOT httpContext. This would make it match the spec.
https://cloud.google.com/error-reporting/docs/formatting-error-messages
Right now the report_exception call is throwing an error when using grpc and not populating the data with the http api usage.
google.protobuf.json_format.ParseError: Message type "google.devtools.clouderrorreporting.v1beta1.ErrorContext" has no field named "httpContext".
The text was updated successfully, but these errors were encountered: