Capture errors leads to a message about --allow-console-errors
#156
Labels
customer reported
Tracking: This issue was reported through customer support
planned
Tracking: Issue is tracked internally
small
Estimate: <= 1 day (> 2 hours)
If your build has component/story errors, the output is:
A few things here:
--allow-console-errors
used to (when we used JSDOM) mean that we'd continue even if we observed errors logged in the JS console when gathering a story list (i.e. at load time). The reason we had that behaviour in the first place (stopping if we saw console errors), was due to console errors many times leading to people's Storybooks not loading properly, and us capturing an incomplete Storybook, which is a bad experience in Chromatic.--allow-console-errors
shouldn't have anything to do with the above errors which are render-time "capture" errors. Passing the flag shouldn't change the behaviour in this case, and if it does it should be named differently (--exit-zero-on-errors
would be consistent with--exit-zero-on-changes
).┆Issue is synchronized with this Asana task by Unito
The text was updated successfully, but these errors were encountered: