Skip to content

Commit

Permalink
fix(bot): ws error handling to webapp
Browse files Browse the repository at this point in the history
  • Loading branch information
Snazzah committed Apr 15, 2024
1 parent add27b3 commit 0957e46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/bot/src/modules/recorder/webapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export class WebappClient {

recording.recorder.logger.log(`Disconnected from webapp for recording ${recording.id}: ${WebappOpCloseReason[reason[0]]}`, 'webapp');
});
this.ws.on('error', (e) => recording.recorder.logger.log(`Websocket Error: ${String(e)}`, 'webapp'));
}

findWebUserFromClientId(id: string) {
Expand Down

0 comments on commit 0957e46

Please sign in to comment.