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 cross-origin error #31

Merged
merged 1 commit into from
Nov 25, 2019
Merged

FIX cross-origin error #31

merged 1 commit into from
Nov 25, 2019

Conversation

ndelangen
Copy link
Member

Not all properties are allowed to be read sometimes.

Wrap a try-catch around the replacer, so that if a cross-origin error occurs, we catch it and can proceed.

storybookjs/storybook#7215

@ndelangen ndelangen added the bug Something isn't working label Nov 25, 2019
@ndelangen ndelangen self-assigned this Nov 25, 2019
@ndelangen ndelangen merged commit b60d935 into master Nov 25, 2019
@ndelangen ndelangen deleted the fix/cross-origin branch November 25, 2019 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant