diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md index 69af0185..a0b37441 100644 --- a/.github/ISSUE_TEMPLATE/bug.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -8,7 +8,6 @@ title: 'bug: ' -Version v Electron Version: diff --git a/src/main.ts b/src/main.ts index 9131ca85..1be982b6 100755 --- a/src/main.ts +++ b/src/main.ts @@ -206,6 +206,8 @@ unhandled({ openNewGitHubIssue({ user: 'tiddly-gittly', repo: 'TiddlyGit-Desktop', + template: 'bug.md', + title: `bug: ${error.message}`, body: `\`\`\`\n${error.stack ?? 'No error.stack'}\n\`\`\`\n\n---\n\n${debugInfo()}`, }); },