theprogrammablemind 7.5.8-beta.10 → 7.5.8-beta.11

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.
Files changed (2) hide show
  1. package/client.js +3 -2
  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
- // throw error
1124
+
1125
+ throw error
1125
1126
  }
1126
1127
 
1127
1128
  const defaultInnerProcess = (config, errorHandler, responses) => {
package/package.json CHANGED
@@ -63,6 +63,6 @@
63
63
  "json-stable-stringify": "^1.0.1",
64
64
  "node-fetch": "^2.6.1"
65
65
  },
66
- "version": "7.5.8-beta.10",
66
+ "version": "7.5.8-beta.11",
67
67
  "license": "ISC"
68
68
  }