Skip to content

Commit

Permalink
fix: stop spamming Sentry with Monaco worker error
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 4b8c6a417e30eaa4ec334c86f382d055f29eb749
  • Loading branch information
IcaroG authored and actions-user committed Feb 17, 2025
1 parent 386ee3e commit 2366143
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform/wab/src/wab/client/ErrorNotifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ export const ERROR_PATTERNS_TO_IGNORE = [
// monaco
// https://app.shortcut.com/plasmic/story/39095/error-cannot-read-properties-of-null-reading-getstartposition
"reading 'getStartPosition'",
// Monaco tried to use web workers, but the apphost can block it with CSP
"EditorSimpleWorker.loadForeignModule",

// antd / rc-align sometimes throw this by using ReactDOM.findDOMNode()
"Unable to find node on an unmounted component",
Expand Down

0 comments on commit 2366143

Please sign in to comment.