Reputation: 574
I have implemented trackJS library for better debugging and logging. But whenever I send any error to trackJS it throws error only in 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.console.error('some error msg.');
please let me know if I am doing anything wrong here.
Upvotes: 2
Views: 406
Reputation: 630
This is a old Firefox bug, there is no need to return a payload from the TrackJS error capture API, so we do not. The warning shown in the Firefox console is local-only. It can safely be ignored.
Upvotes: 0