[Courier] properly propogate errors from the source to the courier, using it's new _error method

This commit is contained in:
Spencer Alger 2014-02-18 07:36:30 -07:00
parent 73ab3b8450
commit 7781b50131

View file

@ -102,7 +102,7 @@ define(function (require) {
if (EventEmitter.listenerCount(this, 'error')) {
this.emit('error', err);
} else {
this._courier.emit('error', err);
this._courier._error(err);
}
};