From 679061d2af174803c360cf4ccac4853793706060 Mon Sep 17 00:00:00 2001 From: martin bedouret Date: Mon, 25 Nov 2019 16:23:36 -0300 Subject: [PATCH] debug --- src/providers/SpeechProvider/tts.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/providers/SpeechProvider/tts.js b/src/providers/SpeechProvider/tts.js index 1da570325..ca190e87c 100644 --- a/src/providers/SpeechProvider/tts.js +++ b/src/providers/SpeechProvider/tts.js @@ -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; },