Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated error thrown by Faro/Web-vitals #647

Open
abby-gourlay opened this issue Jul 16, 2024 · 0 comments
Open

Repeated error thrown by Faro/Web-vitals #647

abby-gourlay opened this issue Jul 16, 2024 · 0 comments
Labels
bug Report a bug

Comments

@abby-gourlay
Copy link

Description

We've added Faro to our react application and it's now throwing this error periodically but also on some mouse clicks and page navigations
image

Working backwards it seems like this might be coming from the web-vitals library (https://github.com/GoogleChrome/web-vitals/blob/9bce28af7f25a0734093626857daeaeae10f6f65/src/lib/whenIdle.ts#L34) when the rIC variable (minifed as n3 here) is not properly set
image

It does get set sometimes though so I can only assume that requestIdleCallback or setTimeout is meant to have been set somewhere within the faro SDK and it's not

Steps to reproduce

  1. Add Faro to the project
  2. Navigate to another page
  3. Review console logs

Expected behavior

No errors are thrown

Actual behavior

Errors are being logged to the console as shown above

Environment

  • SDK version: 1.8.2
  • SDK instrumentations: Web SDK
  • Device type: Desktop
  • Device name: HP Elitebook
  • OS: Windows 11
  • Browser: Chrome 126.0.6478.127 (Official Build) (64-bit)
@abby-gourlay abby-gourlay added the bug Report a bug label Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Report a bug
Projects
None yet
Development

No branches or pull requests

1 participant