@indra.ai/deva 1.2.17 → 1.2.18
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/config.json +2 -2
- package/index.js +0 -9
- package/package.json +1 -1
package/config.json
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"scifi": "SciFi",
|
|
54
54
|
"finish": "Finish",
|
|
55
55
|
"help": "Help",
|
|
56
|
-
"error": "
|
|
56
|
+
"error": "ERROR!"
|
|
57
57
|
},
|
|
58
58
|
"state": "offline",
|
|
59
59
|
"states": {
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"contexts": "Getting contexts",
|
|
171
171
|
"finish": "Finished action",
|
|
172
172
|
"help": "Giving some HELP!",
|
|
173
|
-
"error": "
|
|
173
|
+
"error": "ERROR!"
|
|
174
174
|
},
|
|
175
175
|
"feature": false,
|
|
176
176
|
"features": {
|
package/index.js
CHANGED
|
@@ -1462,15 +1462,6 @@ class Deva {
|
|
|
1462
1462
|
***************/
|
|
1463
1463
|
error(err,data=false,reject=false) {
|
|
1464
1464
|
this.zone('error');
|
|
1465
|
-
// check fo rthe custom onError function in the agent.
|
|
1466
|
-
console.log('\n::BEGIN:ERROR\n');
|
|
1467
|
-
console.log(err);
|
|
1468
|
-
console.log('\n::END:ERROR\n');
|
|
1469
|
-
if (data) {
|
|
1470
|
-
console.log('\n::BEGIN:DATA\n');
|
|
1471
|
-
console.log(JSON.stringify(data, null, 2));
|
|
1472
|
-
console.log('\n::END:DATA\n');
|
|
1473
|
-
}
|
|
1474
1465
|
|
|
1475
1466
|
this.state('error')
|
|
1476
1467
|
const agent = this.agent();
|