theprogrammablemind_4wp 8.0.0-beta.79 → 8.0.0-beta.80
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/configHelpers.js +8 -1
package/package.json
CHANGED
package/src/configHelpers.js
CHANGED
@@ -309,11 +309,18 @@ const processContextsB = async ({ config, hierarchy, semantics, generators, json
|
|
309
309
|
if (isInstance) {
|
310
310
|
console.log('error', e.error)
|
311
311
|
}
|
312
|
+
let reason = e.reason
|
313
|
+
if (!reason) {
|
314
|
+
if (e.error) {
|
315
|
+
reason = e.error[0]
|
316
|
+
}
|
317
|
+
}
|
312
318
|
contextPrime = await semantics.apply(args, {
|
313
319
|
marker: 'error',
|
314
320
|
context,
|
315
321
|
text: e ? e.toString() : 'not available',
|
316
|
-
reason: e.
|
322
|
+
// reason: e.reason,
|
323
|
+
reason,
|
317
324
|
error: e.stack || e.error
|
318
325
|
})
|
319
326
|
if (rebuildingTemplate) {
|