Skip to content
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

XHR errors are reported incorrectly #9501

Closed
cvializ opened this issue May 23, 2017 · 4 comments
Closed

XHR errors are reported incorrectly #9501

cvializ opened this issue May 23, 2017 · 4 comments

Comments

@cvializ
Copy link
Contributor

cvializ commented May 23, 2017

Since the new errors are not an instance of an error object, when they are thrown by callers to the AMP error service, the service does not recognize them as a valid error. Possible fixes are returning to the mutated-error approach, or creating a custom error type decorated with the xhr data.

This error manifests itself as Error: [Object object] in the console.

@jridgewell
Copy link
Contributor

Already working on it. #9448

@cvializ
Copy link
Contributor Author

cvializ commented May 23, 2017

Cool

@jridgewell
Copy link
Contributor

Don't have an issue for it, so I'm going to reopen this.

@jridgewell
Copy link
Contributor

Fixed by #9574.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants