Debanjan05 opened a new issue #6607:
URL: https://github.com/apache/skywalking/issues/6607


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Bug
   
   ___
   ### Bug
   - Which version of SkyWalking, OS, and JRE?
   
   Skywalking 8.2
   skywalking-client-js - v0.4.0
   OS - Mac
   Angular app version - 11
   
   - What happened?
   I'm trying to test an angular app with the agent - I'm able to register the 
app and get performance data and app load. But browser error logs which I'm 
generating in the app are not captured by the agent and hence not pushed to the 
collector.
   I'm able to connect and send browser error logs for Vue and React apps with 
the same agent. 
   
   This is what I'm doing to register and send the data in main.ts file of the 
angular app - 
   
   _ClientMonitor.register({
     collector:
       'http://localhost:12800',
     service: 'angular-test',
     pagePath: location.href,
     serviceVersion: 'v1.0.0',
     jsErrors: true,
     apiErrors: true,
     resourceErrors: true,
     enableSPA: true,
     useFmp: true,
     autoTracePerf: true,
     detailMode: true,
   });_ 
   
   I don't see any network calls happening to collector endpoint when any error 
is triggered from the angular application.
   Presently for testing purpose I'm just throwing an error on some button 
click - _throw new EvalError("EvalError");_
   
   Please let me know if this is a bug or I'm missing something on the 
configuration part.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to