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

copySync errors swallowed, hanging deploy #524

Closed
HipsterBrown opened this issue Jan 15, 2016 · 3 comments
Closed

copySync errors swallowed, hanging deploy #524

HipsterBrown opened this issue Jan 15, 2016 · 3 comments
Assignees
Labels

Comments

@HipsterBrown
Copy link
Contributor

While working on a smoke test for t2-compiler, the deployment would hang after INFO Connected to.... I discovered this was due to fs.copySync blocking errors inside of the actions.injectBinaryModules function.

@johnnyman727
Copy link
Contributor

@HipsterBrown could this also be the cause of #271? Or maybe just one of a number of causes.

@HipsterBrown
Copy link
Contributor Author

It could be. The best practice in the future would be to add a .catch() to every Promise chain, so we can throw or reject those swallowed errors.

@johnnyman727
Copy link
Contributor

👍 good point. I'll keep my eye out to see if I hit this hanging issue anymore. I've tried to make sure all errors are being passed up the chain but it's totally possible I missed a few cases.

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

No branches or pull requests

2 participants