sequelize/sequelize — pull request #1245 by saschagehlich (2014-01-13 12:18:13+00:00)
Title: Fix CustomEventEmitter

Make sure that objects passed to CustomEventEmitter's `error` event
are boiled down to real Error instances so that node's EventEmitter
does not give us this nasty "Uncaught, unspecified error" thing.