Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbedouret committed Nov 25, 2019
1 parent 2ff0a70 commit 679061d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/providers/SpeechProvider/tts.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ const tts = {
let voices = {};
try {
voices = synth.getVoices();
} catch (err) {}
} catch (err) {
console.log(err.message);
}
// On Cordova, voice results are under `._list`
return voices._list || voices;
},
Expand Down

0 comments on commit 679061d

Please sign in to comment.