Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

error reporting still broken at 0.24 #3263

Copy link
Copy link
@asilversempirical

Description

@asilversempirical
Issue body actions

After updating to 0.24 to fix #3167 I'm still unable to report exceptions.

Ubuntu xenial w/ Python 3.5.2

client.report_exception(http_context=error_reporting.build_flask_context(flask.request))

On google-cloud-error-reporting <0.23 the above line works fine. At 0.24 I get:

Apr  1 15:52:51   File "/usr/local/lib/python3.5/dist-packages/google/cloud/error_reporting/client.py", line 347, in report_exception
Apr  1 15:52:51     user=user)
Apr  1 15:52:51   File "/usr/local/lib/python3.5/dist-packages/google/cloud/error_reporting/client.py", line 276, in _send_error_report
Apr  1 15:52:51     self.report_errors_api.report_error_event(error_report)
Apr  1 15:52:51   File "/usr/local/lib/python3.5/dist-packages/google/cloud/error_reporting/_gax.py", line 75, in report_error_event
Apr  1 15:52:51     ParseDict(error_report, error_report_payload)
Apr  1 15:52:51   File "/usr/local/lib/python3.5/dist-packages/google/protobuf/json_format.py", line 384, in ParseDict
Apr  1 15:52:51     parser.ConvertMessage(js_dict, message)
Apr  1 15:52:51   File "/usr/local/lib/python3.5/dist-packages/google/protobuf/json_format.py", line 415, in ConvertMessage
Apr  1 15:52:51     self._ConvertFieldValuePair(value, message)
Apr  1 15:52:51   File "/usr/local/lib/python3.5/dist-packages/google/protobuf/json_format.py", line 501, in _ConvertFieldValuePair
Apr  1 15:52:51     raise ParseError('Failed to parse {0} field: {1}'.format(name, e))"   

Metadata

Metadata

Assignees

Labels

api: clouderrorreportingIssues related to the Error Reporting API.Issues related to the Error Reporting API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.