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

Crashes if error in transformers #5

Closed
ForbesLindesay opened this issue Apr 23, 2013 · 1 comment
Closed

Crashes if error in transformers #5

ForbesLindesay opened this issue Apr 23, 2013 · 1 comment

Comments

@ForbesLindesay
Copy link
Owner

Identified in #2 by @alexeyPetrushin

@ForbesLindesay
Copy link
Owner Author

Provided transformers handle errors properly by emitting an error event on the stream it works fine e.g.:

try {
  src = compile(file, data);
} catch (error) {
  this.emit('error', error);
}

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