amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Viewer integration: rewrite error message to indicate request name

Open dvoytenko opened this issue 9 years ago • 1 comments

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.

dvoytenko avatar Mar 01 '17 22:03 dvoytenko

https://github.com/ampproject/amphtml/pull/7923

chenshay avatar Mar 02 '17 16:03 chenshay