Skip to content

Commit 84fc91c

Browse files
authored
feat(electron): Add screenshot docs (#5409)
1 parent 9c22230 commit 84fc91c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
```javascript
3+
import * as Sentry from "@sentry/electron";
4+
5+
Sentry.init({
6+
dsn: "___PUBLIC_DSN___",
7+
attachScreenshot: true,
8+
});
9+
```

src/platforms/common/enriching-events/screenshots.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ supported:
77
- apple.ios
88
- unity
99
- dotnet.xamarin
10+
- javascript.electron
1011
notSupported:
1112
- apple.macos
1213
- apple.tvos

0 commit comments

Comments
 (0)