theprogrammablemind_4wp 7.5.8-beta.10 → 7.5.8-beta.12
Sign up to get free protection for your applications and to get access to all the features.
- 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) => {
|