theprogrammablemind 7.5.8-beta.10 → 7.5.8-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.js +3 -2
- package/package.json +1 -1
package/client.js
CHANGED
@@ -1118,10 +1118,11 @@ const defaultErrorHandler = async (error) => {
|
|
1118
1118
|
doErrorExit = true
|
1119
1119
|
}
|
1120
1120
|
|
1121
|
-
if (doErrorExit) {
|
1121
|
+
if (runtime.process.exit && doErrorExit) {
|
1122
1122
|
runtime.process.exit(-1)
|
1123
1123
|
}
|
1124
|
-
|
1124
|
+
|
1125
|
+
throw error
|
1125
1126
|
}
|
1126
1127
|
|
1127
1128
|
const defaultInnerProcess = (config, errorHandler, responses) => {
|