Skip to content

Commit 9dcba78

Browse files
committed
chore: Add "SDK Setup" input to bug issue
template
1 parent 2662401 commit 9dcba78

File tree

1 file changed

+34
-16
lines changed

1 file changed

+34
-16
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 🐞 Bug Report
22
description: Tell us about something that's not working the way we (probably) intend.
3-
labels: ["Type: Bug"]
3+
labels: ['Type: Bug']
44
body:
55
- type: checkboxes
66
attributes:
@@ -27,19 +27,19 @@ body:
2727
attributes:
2828
label: Which package are you using?
2929
options:
30-
- "@sentry/angular"
31-
- "@sentry/browser"
32-
- "@sentry/ember"
33-
- "@sentry/gatsby"
34-
- "@sentry/nextjs"
35-
- "@sentry/node"
36-
- "@sentry/opentelemetry-node"
37-
- "@sentry/react"
38-
- "@sentry/remix"
39-
- "@sentry/serverless"
40-
- "@sentry/svelte"
41-
- "@sentry/vue"
42-
- "@sentry/wasm"
30+
- '@sentry/angular'
31+
- '@sentry/browser'
32+
- '@sentry/ember'
33+
- '@sentry/gatsby'
34+
- '@sentry/nextjs'
35+
- '@sentry/node'
36+
- '@sentry/opentelemetry-node'
37+
- '@sentry/react'
38+
- '@sentry/remix'
39+
- '@sentry/serverless'
40+
- '@sentry/svelte'
41+
- '@sentry/vue'
42+
- '@sentry/wasm'
4343
validations:
4444
required: true
4545
- type: input
@@ -54,14 +54,32 @@ body:
5454
id: framework-version
5555
attributes:
5656
label: Framework Version
57-
description: If you're using one of our framework-specific SDKs (`@sentry/react`, for example), what version of the _framework_ (not SDK) are you using?
57+
description:
58+
If you're using one of our framework-specific SDKs (`@sentry/react`, for example), what version of the
59+
_framework_ (not SDK) are you using?
5860
placeholder: ex. React 17.0.0
5961
- type: input
6062
id: link-to-sentry
6163
attributes:
6264
label: Link to Sentry event
63-
description: If applicable, provide a link to the affected event from your Sentry account. The event will only be viewable by Sentry staff.
65+
description:
66+
If applicable, provide a link to the affected event from your Sentry account. The event will only be viewable by
67+
Sentry staff.
6468
placeholder: https://sentry.io/organizations/<org-slug>/issues/<issue-id>/events/<event-id>/?project=<project-id>
69+
- type: textarea
70+
id: sdk-setup
71+
attributes:
72+
label: SDK Setup
73+
description: How do you set up your Sentry SDK? Please show us your `Sentry.init` options.
74+
placeholder: |-
75+
```javascript
76+
Sentry.init({
77+
dsn: __YOUR_DSN__
78+
...
79+
});
80+
```
81+
validations:
82+
required: false
6583
- type: textarea
6684
id: repro
6785
attributes:

0 commit comments

Comments
 (0)