mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Courier] properly propogate errors from the source to the courier, using it's new _error method
This commit is contained in:
parent
73ab3b8450
commit
7781b50131
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue