Suppress ERR_BLOCKED_BY_ORB noise from third-party ad creatives - #97
Conversation
ERR_BLOCKED_BY_ORB errors are triggered by cross-origin resource requests from ad creatives that lack proper CORS headers. These are not actionable on our side and generate noise in logs/Sentry. Suppressed in both onConsoleMessage and onReceivedError callbacks. Fixes KON-1264 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The error code ERR_BLOCKED_BY_ORB appears in onReceivedError.description, not in console messages — Chrome logs a different string there. The filter in onConsoleMessage would never match. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Claude finished @JakubMrozek's task in 53s —— View job Code Review
The change is clean and well-targeted. A few observations: What the final diff actually does Only Minor note: the PR description still mentions suppressing in both callbacks, but the final code only touches Consistency with existing patterns The approach mirrors the existing Platform scope
String matching
Overall: LGTM. The change is minimal, well-commented, and correctly scoped. |
Summary
ERR_BLOCKED_BY_ORBerrors inonConsoleMessageandonReceivedErrorWebView callbacksFixes KON-1264
🤖 Generated with Claude Code