我有一个Ionic(最新版本)应用程序,上面运行Ionic Pro错误监控。在过去的几天里,我遇到了很多这样的错误:
Uncaught (in promise): 0 - {"totalSize":0,"position":0,"total":0,"loaded":0,"lengthComputable":false,"cancelBubble":false,"returnValue":true,"srcElement":{"statusText":"","status":0,"response":"","responseType":"","responseXML":null,"responseText":"","upload":{"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null},"withCredentials":false,"readyState":4,"timeout":0,"onreadystatechange":null,"ontimeout":null,"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null,"__zone_symbol__loadfalse":[{"type":"eventTask","state":"scheduled","source":"XMLHttpRequest.addEventListener:load","zone":"angular","runCount":0}],"__zone_symbol__errorfalse":[{"type":"eventTask","state":"running","source":"XMLHttpRequest.addEventListener:error","zone":"angular","runCount":2}]},"defaultPrevented":false,"timeStamp":1524546205615,"cancelable":true,"bubbles":false,"eventPhase":2,"currentTarget":{"statusText":"","status":0,"response":"","responseType":"","responseXML":null,"responseText":"","upload":{"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null},"withCredentials":false,"readyState":4,"timeout":0,"onreadystatechange":null,"ontimeout":null,"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null,"__zone_symbol__loadfalse":[{"type":"eventTask","state":"scheduled","source":"XMLHttpRequest.addEventListener:load","zone":"angular","runCount":0}],"__zone_symbol__errorfalse":[{"type":"eventTask","state":"running","source":"XMLHttpRequest.addEventListener:error","zone":"angular","runCount":2}]},"target":{"statusText":"","status":0,"response":"","responseType":"","responseXML":null,"responseText":"","upload":{"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null},"withCredentials":false,"readyState":4,"timeout":0,"onreadystatechange":null,"ontimeout":null,"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null,"__zone_symbol__loadfalse":[{"type":"eventTask","state":"scheduled","source":"XMLHttpRequest.addEventListener:load","zone":"angular","runCount":0}],"__zone_symbol__errorfalse":[{"type":"eventTask","state":"running","source":"XMLHttpRequest.addEventListener:error","zone":"angular","runCount":2}]},"type":"error"}
at c (polyfills.js:3:19752)
at ? (polyfills.js:3:19174)
at ? (polyfills.js:3:21242)
at t.invoke (polyfills.js:3:14976)
at Object.zone._inner.zone._inner.fork.onInvoke (vendor.js:4982:33)
at t.invoke (polyfills.js:3:14916)
at r.run (polyfills.js:3:10143)
at ? (polyfills.js:3:20242)
at t.invokeTask (polyfills.js:3:15660)
at Object.zone._inner.zone._inner.fork.onInvokeTask (vendor.js:4973:33)
有没有办法找到这个错误的来源?是我的代码中的问题还是只是一个Ionic / Angular错误?