Closed
Labels
Description
Problem Statement
When running ad blockers or other network disruptions occur showReportDialog will silently fail, there is no api provided for catching this case and asking the user to potentially turn their adblocker (or similar off).
Solution Brainstorm
- Make
showReportDialogreturn aPromisethat resolves when the dialog opens, rejects with error when it fails. (Bonus if you makeshowReportDialogresolve an object that lets you close the dialog or similar. - Add
onErrorcallbackshowReportDialog({ onError: (error: Error) => { ... } }}
Additional Context
No response
Priority
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsNo status
Activity
linear-code commentedon Sep 25, 2026
JS-3824
SimonSchick commentedon Sep 25, 2026
Our interrim solution:
andreiborza commentedon Sep 28, 2026
Hi @SimonSchick, thanks for filing this.
I think we could expose the
onErroroption or something along those lines. Will take a look.feat(browser): Add `onError` callback to `showReportDialog` (getsentr…
github-actions commentedon Sep 28, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #24780, which was included in the 11.1.0 release.