Skip to content

Commit 60dcfa7

Browse files
committed
After a while the sockets through errors that need to be caught and acted on
1 parent 4bbc0db commit 60dcfa7

File tree

1 file changed

+3
-0
lines changed
  • services/speech_to_text

1 file changed

+3
-0
lines changed

services/speech_to_text/v1.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,9 @@ module.exports = function (RED) {
358358
return Promise.resolve();
359359
//return;
360360
})
361+
.catch((err) => {
362+
return Promise.resolve();
363+
});
361364
}
362365

363366
function processSTTSocketStart() {

0 commit comments

Comments
 (0)