yeoman/generator — pull request #648 by thaiat (2014-09-13 00:14:59+00:00)
Title: Fix Error handling for generator

A generator raising an exception will now correctly emit an `error` event.
This can be used in unit test as the error event is now binded between the generator and its run context.