Skip to content

chore: add debug logging #488

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mayurm88
Copy link

Add debug logs in case of an error during prepare step.

The existing logs aren't enough to debug issues and I had to spend significant time trying to figure out why this plugin was failing. Ultimately, the code that is implemented here helped.

I would've hoped the code block implemented here would be written inside child.on(error) block, but that block does not get triggered even when the exit code is 1. I'm not sure why that happens.

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

Successfully merging this pull request may close these issues.

1 participant