Skip to content

Commit 83a00a8

Browse files
authored
Merge branch 'master' into byk/deploy-on-push
2 parents d1bda64 + 7a78dcf commit 83a00a8

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
orbital
2+
orbital_bin
23

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ func main() {
204204
Dsn: "https://da9a4372645d168eff259433fb2403c9@o1.ingest.us.sentry.io/4510957955514368",
205205
EnableTracing: true,
206206
TracesSampleRate: 1.0,
207-
SendDefaultPII: true,
207+
SendDefaultPII: false,
208208
}); err != nil {
209209
log.Fatalf("sentry.Init: %s", err)
210210
}

static/orbital.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,9 @@ function onStreamMessage(e) {
480480
try {
481481
parsed = JSON.parse(e.data);
482482
} catch (err) {
483-
Sentry.captureException(err, { extra: { raw: e.data } });
483+
// SSE frames can be mangled by some browsers (e.g. Safari merging adjacent
484+
// frames), producing unparseable data. This is transient network noise —
485+
// log it locally but don't capture to Sentry to avoid false-positive alerts.
484486
console.error('[Sentry Live] Failed to parse event:', e.data);
485487
return;
486488
}

0 commit comments

Comments
 (0)