While using a Javascript Agent (with adrum.js) to report custom JS error events via the Agent's API, some users find that their error messages are not being reported.
This is usually caused by a missing message or line within the beacon.
Example:
var errorT = new ADRUM.events.Error();
errorT.url('http://localhost:8080/error'); // Optional
errorT.msg('I am a custom error at line 100'); // Mandatory
errorT.line(100); // Mandatory
errorT.stack('some call stack here'); // Optional
ADRUM.report(errorT);
Both the message and the line are required. If either is missing, the Collector will reject the beacon.