Skip to content

Commit 92beeb1

Browse files
committed
Add CodeSandbox version to bug reports
1 parent 1aca6b6 commit 92beeb1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/app/src/app/pages/common/ErrorBoundary/CodeSadbox/buildCrashReport.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import browser from 'browser-detect';
2+
import VERSION from '@codesandbox/common/lib/version';
23

34
interface IbuildCrashReport {
45
error?: Error;
@@ -29,9 +30,9 @@ export const buildCrashReport = ({
2930
<details>
3031
<summary>Environment</summary>
3132
32-
| Browser | Version | Operating System |
33-
| ------- | --------- | ---------------- |
34-
| ${name} | ${version} | ${os} |
33+
| Browser | Version | Operating System | CodeSandbox Version |
34+
| ------- | --------- | ---------------- | ------------------- |
35+
| ${name} | ${version} | ${os} | ${VERSION} |
3536
3637
**Route:**
3738
${window.location.href}

0 commit comments

Comments
 (0)