简体   繁体   English

trackJS XML解析错误:在Firefox中找不到元素

[英]trackJS XML Parsing Error: no element found in firefox

I have implemented trackJS library for better debugging and logging. 我已经实现了trackJS库,以便进行更好的调试和记录。 But whenever I send any error to trackJS it throws error only in Firefox. 但是,每当我向trackJS发送任何错误时,它只会在Firefox中引发错误。 XML Parsing Error: no element found Location: https://capture.trackjs.com/capture?token=<tokenid> Line Number 1, Column 1:

here's the code I am using to push errors to trackJS. 这是我用来将错误推送到trackJS的代码。

trackJs.console.error('some error msg.');

please let me know if I am doing anything wrong here. 如果我在这里做错了任何事情,请告诉我。

This is a old Firefox bug, there is no need to return a payload from the TrackJS error capture API, so we do not. 这是一个古老的Firefox错误,无需从TrackJS错误捕获API返回有效负载,因此我们不需要这样做。 The warning shown in the Firefox console is local-only. Firefox控制台中显示的警告仅适用于本地。 It can safely be ignored. 可以放心地忽略它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM