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

Rupato/BOT-2690/Fix for the survicate script #248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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

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