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 CHANGED
@@ -65,6 +65,6 @@
65
65
  "sort-json": "^2.0.0",
66
66
  "uuid": "^8.3.2"
67
67
  },
68
- "version": "8.0.0-beta.79",
68
+ "version": "8.0.0-beta.80",
69
69
  "license": "UNLICENSED"
70
70
  }
@@ -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.error ? e.error[0] : e.reason,
322
+ // reason: e.reason,
323
+ reason,
317
324
  error: e.stack || e.error
318
325
  })
319
326
  if (rebuildingTemplate) {