theprogrammablemind 7.10.0-beta.1 → 7.10.0-beta.2
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 +5 -1
- package/package.json +1 -1
package/client.js
CHANGED
@@ -667,7 +667,11 @@ const loadInstance = (config, instance) => {
|
|
667
667
|
global.transitoryMode = transitoryMode
|
668
668
|
}
|
669
669
|
|
670
|
-
const
|
670
|
+
const throwErrorHandler = (error) => {
|
671
|
+
throw error
|
672
|
+
}
|
673
|
+
|
674
|
+
const _process = async (config, query, { initializer, commandLineArgs, credentials, writeTests, isTest, saveDeveloper, rebuildingTemplate, testConfig, testsFN, errorHandler = throwErrorHandler } = {}) => {
|
671
675
|
if (credentials) {
|
672
676
|
config.server(credentials.server, credentials.key)
|
673
677
|
}
|