composer/composer — pull request #699 by trashofmasters (2012-05-16 15:34:57+00:00)
Title: Catch exceptions from scripts and let the user know where the error came from

Any exception coming from the listener is now caught and replaced by a ```\RuntimeException```, this exception has a message that references the one provided from the intercepted exception.

Note:
- What about passing ```$previousException``` parameter to the runtime exception constructor?
- The feature has only been tested using the ```Composer\Test\Script\EventDispatcherTest``` test case as I am still not using Composer ATM, I'd appreciate if anyone of you could test it before pulling please.