Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Demo is unhelpful for reporting crash bugs #554

Open
not-an-aardvark opened this issue Mar 18, 2019 · 0 comments
Open

Demo is unhelpful for reporting crash bugs #554

not-an-aardvark opened this issue Mar 18, 2019 · 0 comments
Labels
demo Relates to the ESLint demo page (https://eslint.org/demo) enhancement This change enhances an existing feature of the website

Comments

@not-an-aardvark
Copy link
Member

When the demo is initially loaded with code in the URL that causes ESLint to crash, it logs an error to the console and the UI remains at the "loading" screen indefinitely without ever displaying the code. Similarly, if the code in the demo is edited to something that causes ESLint to crash, the permalink doesn't update in the URL bar.

This makes it difficult to use the demo to debug and report crashes, because (a) the demo won't generate a permalink URL for code that causes ESLint to crash, and (b) even if a permalink URL is generated manually, it won't be possible to load the URL.

I think it would be nice to catch these errors and display a linting message like "ESLint crashed, see the console output for more details".

@not-an-aardvark not-an-aardvark added the demo Relates to the ESLint demo page (https://eslint.org/demo) label Mar 18, 2019
@kaicataldo kaicataldo added the enhancement This change enhances an existing feature of the website label Jun 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
demo Relates to the ESLint demo page (https://eslint.org/demo) enhancement This change enhances an existing feature of the website
Projects
None yet
Development

No branches or pull requests

2 participants