Skip to content

Commit 5e07bad

Browse files
theunrealcaisq
authored andcommitted
[Stop Stream] Logger error output fix (#94)
1 parent 9381dd8 commit 5e07bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

speech-commands/demo/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ stopButton.addEventListener('click', () => {
111111
hideCandidateWords();
112112
logToStatusDisplay('Streaming recognition stopped.');
113113
})
114-
.catch(error => {
114+
.catch(err => {
115115
logToStatusDisplay(
116116
'ERROR: Failed to stop streaming display: ' + err.message);
117117
});

0 commit comments

Comments
 (0)