Skip to content

Commit

Permalink
[call-me] - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jan 4, 2025
1 parent 0b94799 commit 123e79e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions public/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,8 @@ function swapCamera() {
refreshLocalVideoStream(newStream);
refreshPeerVideoStreams(newStream);
})
.catch((err) => {
console.error(`[Error] Camera swap failed: ${err.message}`, err);
handleError('Failed to swap the camera.');
.catch((error) => {
handleError('Failed to swap the camera.', error);
});
}

Expand Down

0 comments on commit 123e79e

Please sign in to comment.