I’m using Nativescript + Angular.
Everytime a TYPE ERROR occurs, there is a very verbose ERROR CONTEXT in console that makes it impossible to read what the error occurred.
Is it possible to shut down that ERROR CONTEXT printing in console?
This is an example (saved on a file)
JS: ERROR TypeError: Cannot read property ‘name’ of undefined
JS: ERROR CONTEXT {
JS: “view”: {
JS: “def”: {
JS: “nodeFlags”: 3,
JS: “rootNodeFlags”: 3,
JS: “nodeMatchedQueries”: 0,
JS: “flags”: 0,
JS: “nodes”: [
JS: {
JS: “nodeIndex”: 0,
JS: “parent”: null,
JS: “renderParent”: null,
JS: “bindingIndex”: 0,
JS: “outputIndex”: 0,
JS: “checkIndex”: -1,
JS: “flags”: 2,
JS: “childFlags”: 0,
JS: “directChildFlags”: 0,
JS: “childMatchedQueries”: 0,
JS: “matchedQueries”: {},
JS: “matchedQueryIds”: 0,
JS: “references”: {},
JS: “ngContentIndex”: null,
JS: “childCount”: 0,
JS: “bindings”: [],
JS: “bindingFlags”: 8,
JS: “outputs”: [],
JS: “element”: null,
JS: “provider”: null,
JS: “text”: {
JS: “prefix”: "\n "
JS: },
JS: “query”: null,
JS: “ngContent”: null
JS: },
JS: {
JS: “nodeIndex”: 1,
JS: “parent”: null,
JS: “renderParent”: null,
JS: “bindingIndex”: 0,
JS: “outputIndex”: 0,
JS: “checkIndex”: 1,
JS: “flags”: 1,
JS: “childFlags”: 3,
JS: “directChildFlags”: 3,
JS: “childMatchedQueries”: 0,
JS: “matchedQueries”: {},
JS: “matchedQueryIds”: 0,
JS: “references”: {},
JS: “ngContentIndex”: null,
JS: “childCount”: 18,
JS: “bindings”: [
JS: {
JS: “flags”: 2,
JS: “ns”: “”,
JS: “name”: “first”,
JS: “nonMinifiedName”: “first”
JS: }
and it continues for thousands of lines, console can’t handle it all.