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

Opaque error message on timeout #429

Open
chaosflaws opened this issue Mar 30, 2020 · 0 comments
Open

Opaque error message on timeout #429

chaosflaws opened this issue Mar 30, 2020 · 0 comments

Comments

@chaosflaws
Copy link

When uncss times out before a script could be parsed completely, the stack trace contains the error messages Error: Could not load script and Error: request canceled by user. I wasn't aware of the timeout option and spent quite some time digging in the source files tracing down the source of the errors. It would be nice if uncss could provide a clearer error message along the lines of "timeout reached when parsing script ".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant