Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

Unhandled Promise Rejection - Stack Trace is not useful

$
0
0

@nvirth wrote:

Hi there!

I’m wondering if I’m doing smg wrong, because I could not find anything on the web about how to extract useful info from promise rejection stack traces.

Mine looks like this:

Error: Uncaught (in promise): undefined
    at c (http://localhost:8100/build/polyfills.js:3:19752)
    at c (http://localhost:8100/build/polyfills.js:3:19461)
    at http://localhost:8100/build/polyfills.js:3:20233
    at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15660)
    at Object.onInvokeTask (http://localhost:8100/build/vendor.js:4973:33)
    at t.invokeTask (http://localhost:8100/build/polyfills.js:3:15581)
    at r.runTask (http://localhost:8100/build/polyfills.js:3:10834)
    at o (http://localhost:8100/build/polyfills.js:3:7894)
    at e.invokeTask [as invoke] (http://localhost:8100/build/polyfills.js:3:16823)
    at p (http://localhost:8100/build/polyfills.js:2:27648)

No clue at all where the problem happened.

I already tried to use an own ErrorHandler in place of the default IonicErrorHandler, so I can stop the execution with a breakpoint when an Unhandled Promise Rejcetion occurs, but still there is no info there either.

Is there a way to trace where the error happened?

Thank you and regards,
Norbert Virth

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>