Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
Merge 162fcbe into 3b7307e
Browse files Browse the repository at this point in the history
  • Loading branch information
andyyou committed Oct 13, 2020
2 parents 3b7307e + 162fcbe commit 1d4669b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -262,7 +262,7 @@ const useOpenTok = () => {

session.signal(signal, error => {
if (error) {
console.warn('[ReactUseOpenTok] sendSignal error: ' + error.message);
throw new Error('[ReactUseOpenTok] sendSignal error: ' + error.message);
} else if (typeof completionHandler === 'function') {
completionHandler();
}
Expand Down

0 comments on commit 1d4669b

Please sign in to comment.