From 0a8e47e0cef33860e006609498e9dfdec2d51356 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 2 Nov 2026 17:01:35 +0000 Subject: [PATCH] Ignore Jam's Rimless postMessage error in Sentry Jam's recorder script bundles the Rimless iframe RPC library, which throws "No target specified for postMessage" when a message's source window is gone. The stack is entirely inside js.jam.dev, so drop it. Fixes JAVASCRIPT-REACT-C Co-Authored-By: Claude Opus 5.5 --- src/lib/observability.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/observability.ts b/src/lib/observability.ts index 2f330b1d..18466cc7 100644 --- a/src/lib/observability.ts +++ b/src/lib/observability.ts @@ -187,6 +187,10 @@ async function loadSentry(): Promise { // reject with a plain { code, message } (EIP-1193). Nothing in the app // or its bundle rejects with that shape; our errors are Error objects. /^Object captured as promise rejection with keys: code, message$/, + // Jam's recorder (js.jam.dev, loaded by src/jam-loader.ts) bundles + // Rimless, which throws this when a message's source window is gone. + // Nothing in our code uses Rimless. + /Rimless Error: No target specified for postMessage/, ], // No sendDefaultPii: deprecated, and Sentry ignores it whenever // dataCollection is set. The block below is the only PII control.