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

Addon-docs: Error on non-string description #7650

Merged
merged 2 commits into from
Aug 1, 2019

Conversation

shilman
Copy link
Member

@shilman shilman commented Aug 1, 2019

Issue: #7398

What I did

Sometimes peoples' webpack is not set up properly so, e.g. importing text from a .md file could cause the description component to break. Fail with a debuggable error in this case.

@vercel
Copy link

vercel bot commented Aug 1, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://monorepo-git-7398-non-string-description.storybook.now.sh

@shilman shilman changed the title Addon-docs: Empty string if we can't infer description Addon-docs: Error on non-string description Aug 1, 2019
@shilman shilman requested a review from lonyele August 1, 2019 08:55
@shilman shilman merged commit bf876ce into next Aug 1, 2019
@shilman shilman deleted the 7398-non-string-description branch August 1, 2019 09:20
@shilman shilman added this to the 5.2.0 milestone Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants