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

fix: Puppeteer CORS request matching #110

Merged
merged 1 commit into from
Sep 15, 2018

Conversation

offirgolan
Copy link
Collaborator

@offirgolan offirgolan commented Sep 15, 2018

Preflight requests should not be matched to a pollyRequest since Polly should never actually be aware of such a request.

@offirgolan offirgolan requested a review from jasonmit September 15, 2018 00:08
@@ -231,6 +233,7 @@ export default class PuppeteerAdapter extends Adapter {
await response.text()
);
} catch (error) {
console.error(error);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Print out the error so its displayed in the test runners.

@offirgolan offirgolan merged commit 7831115 into master Sep 15, 2018
@offirgolan offirgolan deleted the puppeteer-adapter-cors-patch branch September 15, 2018 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants