Created
December 30, 2017 13:23
-
-
Save henri-hulski/8da4e5edc4f0ddd6fff712a813007dae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "appMounted", | |
"executionId": "1514639853293_4103", | |
"source": "c", | |
"isExecuting": false, | |
"datetime": 1514639853293, | |
"staticTree": { | |
"name": "Initiate App", | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": "initApp", | |
"functionIndex": 0 | |
} | |
] | |
}, | |
"groupId": "appMounted", | |
"functionsRun": { | |
"0": { | |
"payload": {}, | |
"data": [ | |
{ | |
"method": "storage.get", | |
"args": [ | |
"jwtHeader" | |
] | |
} | |
], | |
"executedIds": [] | |
} | |
}, | |
"executedBy": null, | |
"expandedProps": {}, | |
"expandedActions": {} | |
}, | |
{ | |
"name": "pageRouted", | |
"executionId": "1514639853303_8224", | |
"source": "c", | |
"isExecuting": false, | |
"datetime": 1514639853303, | |
"staticTree": { | |
"name": "Route to page", | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": "Route to", | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": "operator.set(state`currentPage`, props`page`)", | |
"functionIndex": 0 | |
}, | |
{ | |
"name": "operator.equals(state`currentPage`)", | |
"functionIndex": 1, | |
"outputs": { | |
"home": { | |
"name": null, | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": "operator.set(state`lastVisited`, home)", | |
"functionIndex": 2 | |
}, | |
{ | |
"name": "Fetch articles", | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": "httpGet", | |
"functionIndex": 3 | |
}, | |
{ | |
"name": "mergeArticles", | |
"functionIndex": 4 | |
} | |
] | |
}, | |
{ | |
"name": "Fetch tags", | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": "httpGet", | |
"functionIndex": 5 | |
}, | |
{ | |
"name": "addTags", | |
"functionIndex": 6 | |
} | |
] | |
} | |
] | |
}, | |
"login": { | |
"name": null, | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [] | |
}, | |
"register": { | |
"name": null, | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [] | |
}, | |
"settings": { | |
"name": null, | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": "operator.set(state`lastVisited`, settings)", | |
"functionIndex": 7 | |
}, | |
{ | |
"name": "authenticate", | |
"functionIndex": 8 | |
} | |
] | |
}, | |
"article": { | |
"name": null, | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": "redirectToSignal", | |
"functionIndex": 9 | |
} | |
] | |
}, | |
"editor": { | |
"name": null, | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": null, | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": "operator.set(state`lastVisited`, editor)", | |
"functionIndex": 10 | |
}, | |
{ | |
"name": "operator.set(state`blog.currentArticleSlug`, )", | |
"functionIndex": 11 | |
} | |
] | |
} | |
] | |
}, | |
"profile": { | |
"name": null, | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": "redirectToSignal", | |
"functionIndex": 12 | |
} | |
] | |
}, | |
"otherwise": { | |
"name": null, | |
"_functionTreePrimitive": true, | |
"type": "sequence", | |
"items": [ | |
{ | |
"name": "redirectToSignal", | |
"functionIndex": 13 | |
} | |
] | |
} | |
} | |
} | |
] | |
} | |
] | |
}, | |
"groupId": "pageRouted", | |
"functionsRun": { | |
"0": { | |
"payload": { | |
"page": "settings" | |
}, | |
"data": [ | |
{ | |
"datetime": 1514639853306, | |
"type": "mutation", | |
"color": "#333", | |
"method": "set", | |
"args": [ | |
[ | |
"currentPage" | |
], | |
"settings" | |
] | |
} | |
], | |
"executedIds": [] | |
}, | |
"1": { | |
"payload": { | |
"page": "settings" | |
}, | |
"data": [], | |
"executedIds": [], | |
"path": "settings" | |
}, | |
"7": { | |
"payload": { | |
"page": "settings" | |
}, | |
"data": [ | |
{ | |
"datetime": 1514639853308, | |
"type": "mutation", | |
"color": "#333", | |
"method": "set", | |
"args": [ | |
[ | |
"lastVisited" | |
], | |
"settings" | |
] | |
} | |
], | |
"executedIds": [] | |
}, | |
"8": { | |
"payload": { | |
"page": "settings" | |
}, | |
"data": [], | |
"executedIds": [ | |
"1514639853311_2041" | |
], | |
"error": { | |
"name": "AuthenticationError", | |
"message": "You must log in to view this page", | |
"stack": "AuthenticationError: You must log in to view this page\n at Object.authenticate [as function] (http://localhost:3000/static/js/bundle.js:46363:11)\n at FunctionTreeExecution.runFunction (http://localhost:3000/static/js/bundle.js:9118:38)\n at runBranch (http://localhost:3000/static/js/bundle.js:10415:17)\n at runNextItem (http://localhost:3000/static/js/bundle.js:10353:7)\n at http://localhost:3000/static/js/bundle.js:10370:11\n at FunctionTreeExecution.runFunction (http://localhost:3000/static/js/bundle.js:9186:9)\n at runBranch (http://localhost:3000/static/js/bundle.js:10415:17)\n at http://localhost:3000/static/js/bundle.js:10365:13\n at FunctionTreeExecution.runFunction (http://localhost:3000/static/js/bundle.js:9178:9)\n at runBranch (http://localhost:3000/static/js/bundle.js:10415:17)\n at runNextItem (http://localhost:3000/static/js/bundle.js:10353:7)\n at http://localhost:3000/static/js/bundle.js:10370:11\n at FunctionTreeExecution.runFunction (http://localhost:3000/static/js/bundle.js:9186:9)\n at runBranch (http://localhost:3000/static/js/bundle.js:10415:17)\n at runBranch (http://localhost:3000/static/js/bundle.js:10383:7)\n at runBranch (http://localhost:3000/static/js/bundle.js:10383:7)\n at executeTree (http://localhost:3000/static/js/bundle.js:10419:10)\n at withResolveAndReject (http://localhost:3000/static/js/bundle.js:9334:78)\n at Controller.run (http://localhost:3000/static/js/bundle.js:9351:9)\n at Controller.runSignal (http://localhost:3000/static/js/bundle.js:3820:12)\n at run (http://localhost:3000/static/js/bundle.js:4865:24)\n at Router.onUrlChange (http://localhost:3000/static/js/bundle.js:2526:42)\n at Controller.<anonymous> (http://localhost:3000/static/js/bundle.js:2429:15)\n at Controller.emit (http://localhost:3000/static/js/bundle.js:8024:33)\n at Controller.BaseController (http://localhost:3000/static/js/bundle.js:3767:11)\n at new Controller (http://localhost:3000/static/js/bundle.js:4221:110)\n at Controller (http://localhost:3000/static/js/bundle.js:5809:10)\n at Object../src/controller.js (http://localhost:3000/static/js/bundle.js:50634:118)\n at __webpack_require__ (http://localhost:3000/static/js/bundle.js:679:30)\n at fn (http://localhost:3000/static/js/bundle.js:89:20)\n at Object../src/index.js (http://localhost:3000/static/js/bundle.js:50656:70)\n at __webpack_require__ (http://localhost:3000/static/js/bundle.js:679:30)\n at fn (http://localhost:3000/static/js/bundle.js:89:20)\n at Object.0 (http://localhost:3000/static/js/bundle.js:50694:18)\n at __webpack_require__ (http://localhost:3000/static/js/bundle.js:679:30)\n at ./node_modules/@cerebral/http/lib/DEFAULT_OPTIONS.js.Object.defineProperty.value (http://localhost:3000/static/js/bundle.js:725:37)\n at http://localhost:3000/static/js/bundle.js:728:10", | |
"func": "function authenticate(_ref) {\n var state = _ref.state;\n\n if (!state.get('auth.authenticated')) {\n throw new __WEBPACK_IMPORTED_MODULE_1__errors__[\"a\" /* AuthenticationError */]('You must log in to view this page');\n }\n}" | |
} | |
} | |
}, | |
"executedBy": null, | |
"expandedProps": {}, | |
"expandedActions": {}, | |
"hasError": true | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment