You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,26 @@ No fixes were made.
51
51
52
52
Each time you add new changes to this file, please add them bellow this line - i.e. between the [insertion](#insterion) section and the last version added.
53
53
54
+
## [1.1.0] - 2022-04-04
55
+
56
+
### Added
57
+
58
+
- Added `errorHandler` prop for the client: this will be called now, instead of `console.error` and `throw` of the errors
59
+
60
+
### Changed
61
+
62
+
- Changed the way errors are handled: no error is consoled or thrown anymore, they are sent through the `errorHandler` prop so that the user/client can catch them and action accordingly
Copy file name to clipboardExpand all lines: dist/CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,26 @@ No fixes were made.
51
51
52
52
Each time you add new changes to this file, please add them bellow this line - i.e. between the [insertion](#insterion) section and the last version added.
53
53
54
+
## [1.1.0] - 2022-04-04
55
+
56
+
### Added
57
+
58
+
- Added `errorHandler` prop for the client: this will be called now, instead of `console.error` and `throw` of the errors
59
+
60
+
### Changed
61
+
62
+
- Changed the way errors are handled: no error is consoled or thrown anymore, they are sent through the `errorHandler` prop so that the user/client can catch them and action accordingly
currentState: "@vatis-tech/asr-client-js: Instantianting the \"MicrophoneGenerator\" plugin.",
@@ -165,9 +169,12 @@ var MicrophoneGenerator = /*#__PURE__*/function () {
165
169
description: "@vatis-tech/asr-client-js: The MicrophoneGenerator was successful into getting user's microphone, and will start sending data each ".concat(_this.microphoneTimeslice," miliseconds.")
166
170
});
167
171
})["catch"](function(err){
168
-
varerrorMessage="Could not initilize the microphone stream with error: "+err;
169
-
console.error(errorMessage);
170
-
throwerrorMessage;
172
+
_this.logger({
173
+
currentState: "@vatis-tech/asr-client-js: Could not initilize the \"MicrophoneGenerator\" plugin.",
0 commit comments