Xhr request errors are not getting logged on logrocket platform

I have integrated Logrocket into one of my Next.JS application and I’m also able all JavaScript related errors except syntax error on Logrocket platform.

Though logrocket is not logging any xhr related errors on their platform. Got 403 Forbidden, 404 Not found and 500 internal server error on my network calls but logrocket did not reported any of those.

I have used the following steps for the setup:

  1. Installed logrocket page through npm using this command npm install --save logrocket
  2. Added this command in my project LogRocket.init('app/id');

I have checked on their docs and different online available resources for xhr related errors but got no help.

Could anybody please help me on the same, what can I more use to get xhr related errors. In case, if it is not possible, let me know that as well. Also please do let me know if I can or cannot get javascript syntax error, framework related and performance related error also as I’m not getting that as well on logrocket platform.