Skip to content

Commit 960e7e7

Browse files
authored
docs(js): Extend example on captureMessage (#12264)
1 parent 47a010b commit 960e7e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
```javascript
22
Sentry.captureMessage("Something went wrong");
3+
4+
// optionally specify the severity level:
5+
// "fatal" | "error" | "warning" | "log" | "debug" | "info" (default)
6+
Sentry.captureMessage("Something went wrong", "warning");
37
```

0 commit comments

Comments
 (0)