@fathermonkey wrote:
I'm working on a Ionic 2 app with about 5 pages.
What is happening is that I can only see error in pages that are set to rootPage( I have a side menu)After I set the rootPage, and inside that view do this.nav.push(anotherPage) error in anotherPage are not shown. The app does not navigate and not error is shown.
I debugged the code and found the error being thrown at
line 2174 of es6-shim.js
var promiseReactionJob = function (handler, promiseCapability, argument) {
var handlerResult, f;
if (promiseCapability === PROMISE_FAKE_CAPABILITY) {
// Fast case, when we don't actually need to chain through to a
// (real) promiseCapability.
return handler(argument);
}
try {
handlerResult = handler(argument);
f = promiseCapability.resolve;
} catch (e) { HERE I CAN SEE THE ERROR
handlerResult = e;
f = promiseCapability.reject;
}
f(handlerResult);
};Regards.
Posts: 1
Participants: 1