File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/app/src/app/pages/common/ErrorBoundary/CodeSadbox Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ export const buildCrashReport = ({
1515 ) ;
1616 const { name, version, os } = browser ( ) ;
1717
18+ // Only put commit sha inside the body, GitHub can parse this back to a link to commit.
19+ const commitSha = VERSION . split ( '-' ) [ 2 ] ;
20+
1821 url . searchParams . set (
1922 `body` ,
2023 `<h1>💥 Crash Report</h1>
@@ -32,7 +35,7 @@ export const buildCrashReport = ({
3235
3336 | Browser | Version | Operating System | CodeSandbox Version |
3437 | ------- | --------- | ---------------- | ------------------- |
35- | ${ name } | ${ version } | ${ os } | ${ VERSION } |
38+ | ${ name } | ${ version } | ${ os } | ${ commitSha } |
3639
3740 **Route:**
3841 ${ window . location . href }
You can’t perform that action at this time.
0 commit comments