fix(core): emit error on -404
This commit is contained in:
parent
dc99a9103b
commit
e3fc079f05
1 changed files with 1 additions and 0 deletions
|
@ -243,6 +243,7 @@ export class SessionConnection extends PersistentConnection {
|
||||||
this._session.resetAuthKey()
|
this._session.resetAuthKey()
|
||||||
this._resetSession()
|
this._resetSession()
|
||||||
this.emit('key-change', null)
|
this.emit('key-change', null)
|
||||||
|
this.emit('error', error)
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue