Skip to content

Reduce noise when Extractor fails in the Docusaurus Plugin#184

Open
YetAnotherClown wants to merge 2 commits intomasterfrom
improve-docusaurus-plugin-error
Open

Reduce noise when Extractor fails in the Docusaurus Plugin#184
YetAnotherClown wants to merge 2 commits intomasterfrom
improve-docusaurus-plugin-error

Conversation

@YetAnotherClown
Copy link
Copy Markdown
Collaborator

When the Docusaurus Moonwave Plugin fails to extract using the Moonwave Extractor, it will display irrelevant information to the user. This information includes the Node stack trace and the Extractor's raw stderr output, which creates a lot of unnecessary noise.

This PR removes all this unnecessary noise, and replaces the error message with:
[ERROR] 'Moonwave: Failed to extract. Check the error above.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docusaurus plugin enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant