Skip to content

Conversation

@heonjwa
Copy link
Collaborator

@heonjwa heonjwa commented Jun 5, 2025

Resolves #3819

  • Added CDN script on top of main.scala.html which will send all logs within sidewalk website to sentry.

Instructions for setting up sentry with new account:

  1. Create a new account with appropriate ID in Sentry.
  2. Click "Create Project" in the Projects tab.
  3. Select "Browser Javascript" as the platform
  4. Update the src String with the newly provided String with the associated email.
Before/After screenshots (if applicable)
Screenshot 2025-06-04 at 7 29 27 PM Screenshot 2025-06-04 at 7 30 05 PM
Testing instructions
  1. Throw an error with a script within Main.scala.html
  2. Check the Issues tab in Sentry to see if you see the error.
Things to check before submitting the PR
  • I've written a descriptive PR title.
  • I've added/updated comments for large or confusing blocks of code.
  • I've included before/after screenshots above.
  • I've asked for and included translations for any user facing text that was added or modified.
  • I've updated any logging. Clicks, keyboard presses, and other user interactions should be logged. If you're not sure how (or if you need to update the logging), ask Mikey. Then make sure the documentation on this wiki page is up to date for the logs you added/updated.
  • I've tested on mobile (only needed for validation page).

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.

Record/track client side errors

2 participants