ui-router/visualizer

Cannot read property 'isCanceled' of undefined

christopherthielen opened this issue · 0 comments

If a transition hook rejects a transition with undefined, the visualizer pukes inside its catch block.

error_handler.js:54 EXCEPTION: Uncaught (in promise): TypeError: Cannot read property 'isCanceled' of undefined
TypeError: Cannot read property 'isCanceled' of undefined
    at a (http://localhost:4200/vendor.bundle.js:108228:4658)
    at ZoneDelegate.invoke (http://localhost:4200/polyfills.bundle.js:6559:26)
    at Object.onInvoke (http://localhost:4200/vendor.bundle.js:30885:37)
    at ZoneDelegate.invoke (http://localhost:4200/polyfills.bundle.js:6558:32)
    at Zone.run (http://localhost:4200/polyfills.bundle.js:6430:43)
    at http://localhost:4200/polyfills.bundle.js:6852:57
    at ZoneDelegate.invokeTask (http://localhost:4200/polyfills.bundle.js:6592:35)
    at Object.onInvokeTask (http://localhost:4200/vendor.bundle.js:30876:37)
    at ZoneDelegate.invokeTask (http://localhost:4200/polyfills.bundle.js:6591:40)
    at Zone.runTask (http://localhost:4200/polyfills.bundle.js:6468:47)
    at drainMicroTaskQueue (http://localhost:4200/polyfills.bundle.js:6750:35)
    at ZoneTask.invoke (http://localhost:4200/polyfills.bundle.js:6666:25)
    at data.args.(anonymous function) (http://localhost:4200/polyfills.bundle.js:7693:25)