Skip to content

Commit 7ea93f3

Browse files
authored
Update user feedback to common (#3467)
* initial refactor to add http method to common * add dotnet * update stale link * modify include directory name * modify dotnet to point to aspnet and aspnetcore as needed * fix broken links
1 parent 0de601c commit 7ea93f3

File tree

18 files changed

+135
-166
lines changed

18 files changed

+135
-166
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Make sure you've got the JavaScript SDK available:
2+
3+
```html
4+
<script
5+
src="https://browser.sentry-cdn.com/{{ packages.version('sentry.javascript.browser') }}/bundle.min.js"
6+
integrity="sha384-{{ packages.checksum('sentry.javascript.browser', 'bundle.min.js', 'sha384-base64') }}"
7+
crossorigin="anonymous"
8+
></script>
9+
```
10+
11+
You'll then need to call `showReportDialog` and pass in the generated event ID.
12+
This event ID is returned from all calls to <PlatformIdentifier
13+
name="capture-event" /> and <PlatformIdentifier name="capture-exception" />.
14+
There is also a function called <PlatformIdentifier name="last-event-id" />
15+
that returns the ID of the most recently sent event.
16+
17+
```html
18+
<script>
19+
Sentry.init({ dsn: "___PUBLIC_DSN___" });
20+
Sentry.showReportDialog({
21+
eventId: "{{ event_id }}",
22+
});
23+
</script>
24+
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)