Skip to content

Conversation

rupato-deriv
Copy link
Contributor

This pull request includes updates to error handling and script loading for the Survicate service in the src/components/error-component/error-boundary.js and src/public-path.ts files. The primary changes involve adding specific error handling for Survicate script errors and ensuring the Survicate script is only loaded once.

Error handling improvements:

Script loading enhancements:

  • src/public-path.ts: Added a property to the global declaration for the TrackJS configuration.
  • src/public-path.ts: Modified the loadSurvicateScript function to check if the Survicate script is already loaded before attempting to load it again, and added an error handler to log a warning if the script fails to load.

Copy link
Contributor

Preview Link: https://Rupato-Fix--survicat.bot-65f.pages.dev

Name Result
Build status Completed ✅
Preview URL Visit Preview
Action URL Visit Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant