Replies: 1 comment
-
@gregg-cbs FWIW battling these errors I think I've narrowed down some things. At least reducing these errors.
I think it's worth not to ignore them. I would for instance have never thought about users trying to translate a page (and which was failing). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
I would like some feedback and thoughts on these errors and whether I should ignore them or if anyone knows if there is something I can do to resolve them.
Description
In our app we setup global javascript error handlers for the browser so we can logs errors to slack so we can see and fix them.
We have noticed a lot of errors due to platforms like facebook and tiktok pre-building/caching links to our site for improved user experience. The problem is they try run off some pre-cached version and if a svelte build has happened it changes the file hashes and so the JS files they are referring to do not exist anymore or have changed. We see these errors a lot every day.
The way we catch and log errors:
The two errors we see mostly:
Error 1 Log: Failed to fetch file
The file being referred to here "https://www.utickets.co.za/_app/immutable/chunks/entry.CNIDYaja.js" does exist. I do not know why vercel/speed-insights is being mentioned, maybe it no longer exists in this chunk at that line or this code is trying to dynamically fetch vercel speed insights and is failing. The referrer will almost always be facebook or tiktok.
Error 2 Log: Script Error
This gives no insights as to why I am getting a script error but i get these quite frequently, myself or my team are never able to replicate these errors. They also seem to only happen from referrer sites.
Beta Was this translation helpful? Give feedback.
All reactions