mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-03-23 12:00:21 +00:00
fix(external-api): Avoid naming event 'error'
- EventEmmitter treats 'error' as a special case and throws error.
This commit is contained in:
committed by
Horatiu Muresan
parent
9a8b67a0a4
commit
00b5ce71e0
@@ -1333,7 +1333,7 @@ class API {
|
||||
*/
|
||||
notifyError(error: Object) {
|
||||
this._sendEvent({
|
||||
name: 'error',
|
||||
name: 'error-occurred',
|
||||
error
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user