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

option to not swallow errors #88

Open
patrickkettner opened this issue Jan 11, 2021 · 1 comment
Open

option to not swallow errors #88

patrickkettner opened this issue Jan 11, 2021 · 1 comment

Comments

@patrickkettner
Copy link

Would it be possible to add an option to throw the error being logged? Or change the exit code so that it doesn't return a 0 and appear successful?

logger.error(`error while copying. task ${err}`);

@sibiraj-s
Copy link
Collaborator

I would prefer to do it webpack way if possible.

For example to fail a compilation, you would do

compilation.push(error)

which causes the compilation to fail. I am not sure if something like this exists for compiler.

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

No branches or pull requests

2 participants