Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed May 21, 2024
1 parent cbbf642 commit 396a9f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ts/Api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ class AgoraRtcEngine extends EventEmitter {
if (channelStreams.size === 0) {
this.streams.delete(channelId || '');
}
} catch (err) {
} catch (err: any) {
onFailure && onFailure(err);
}
}
Expand Down Expand Up @@ -1249,7 +1249,7 @@ class AgoraRtcEngine extends EventEmitter {
if (channelStreams.size === 0) {
this.streams.delete(channelId || '');
}
} catch (err) {
} catch (err:any) {
exception = err;
console.error(`${err.stack}`);
}
Expand Down

0 comments on commit 396a9f8

Please sign in to comment.