carteb / carte-blanche

An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.
https://www.youtube.com/watch?v=6g3-TQ6aaw8
MIT License
1.5k stars 47 forks source link

Handle variation parsing errors #176

Closed mxstbr closed 8 years ago

mxstbr commented 8 years ago

Properly catch and handle individual variation parsing errors.

The remaining app remains usable, only the variation that the parsing failed of shows a stack trace:

variation-error

mxstbr commented 8 years ago

Possible TODO:

Instead of showing the (inunderstandable for a user) stack trace, we should show the error that happened and a link to the variation that it happened in. Right now, a user has no idea which variation failed.

EDIT: WORKING ON THIS, DON'T MERGE YET

mxstbr commented 8 years ago

Updated to a much more usable (fake) stack trace:

variation-error

Ready to merge! :shipit: