feat: better bug report

This commit is contained in:
tiddlygit-test 2021-04-17 22:28:28 +08:00
parent 99f852c579
commit 9365d89d00
2 changed files with 2 additions and 1 deletions

View file

@ -8,7 +8,6 @@ title: 'bug: '
<!-- You can copy this from right click context menu → More → About -->
Version v
Electron Version:

View file

@ -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()}`,
});
},