Add Sentry.io error monitoring to main map and 19hz map#73
Merged
Conversation
Agent-Logs-Url: https://github.com/ProLoser/funcheapmap/sessions/5d709fde-8f61-445a-95dc-2d4bb488439c Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
ProLoser
April 19, 2026 20:20
View session
Owner
|
@copilot use <script src="https://js.sentry-cdn.com/b1a545ff725524609a522423481f37ad.min.js" crossorigin="anonymous"></script> and update preview.yml |
Agent-Logs-Url: https://github.com/ProLoser/funcheapmap/sessions/c51d85a6-884f-4a69-b3d6-11ed6765f0ad Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Contributor
Author
Your comment appears to have had a URL/reference between "use" and "and update preview.yml" that got stripped — could you clarify what you'd like me to switch to? (e.g. a specific CDN, the Sentry Loader Script, etc.) |
ProLoser
approved these changes
Apr 19, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Sentry Browser SDK to both maps as a single project, using Sentry
environmentto differentiate between the two endpoints rather than separate projects/DSNs.Changes
index.html/19hz/index.html— load@sentry/browser@8from jsDelivr CDN; initialize with__SENTRY_DSN__placeholder andenvironment: 'funcheapsf'/environment: '19hz'respectivelydeploy.yml— addsSENTRY_DSNto theenvblock and asedinjection step alongside the existing token replacementspreview.yml— addsSENTRY_DSNto theenvblock and asedinjection step so PR preview deployments also have Sentry active.env.example— documents the newSENTRY_DSNvariableSet the
SENTRY_DSNrepo secret (Settings → Secrets → Actions) to the DSN from your Sentry project's Client Keys page. Environments (funcheapsf,19hz) are created automatically on first error ingestion.