We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bf412f commit 0b1b678Copy full SHA for 0b1b678
platform-includes/user-feedback/sdk-api-example/javascript.mdx
@@ -1,6 +1,4 @@
1
```javascript {tabTitle: JavaScript}
2
-import * as Sentry from "@sentry/browser";
3
-
4
// All feedback fields are optional, except `message`.
5
const userFeedback = {
6
name: "John Doe",
@@ -11,8 +9,6 @@ Sentry.captureFeedback(userFeedback);
11
9
```
12
10
13
```javascript {tabTitle: JavaScript with eventId}
14
15
16
const eventId = Sentry.captureException(new Error("Something went wrong!"));
17
// OR: const eventId = Sentry.lastEventId();
18
0 commit comments