Skip to content

Viewer integration: rewrite error message to indicate request name #7909

@dvoytenko

Description

@dvoytenko

Currently, we do this for errors:

https://github.com/ampproject/amphtml/blob/master/extensions/amp-viewer-integration/0.1/messaging.js#L291

The request is to make the error message a bit more descriptive. I.e.

Request "${request.name}" failed: ${error}

That does mean that waitingForResponse_ should store request name.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions