diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index eabc2c3f..c577fa8c 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -15,20 +15,15 @@ body: description: |- 请确保你已完整执行检查清单,否则你的 Issue 可能会被忽略 options: - - label: 我已完整阅读[胡桃工具箱文档](https://hut.ao/advanced/FAQ.html),并认为我的问题没有在文档中得到解答 - required: true + - label: 我并未完整阅读[胡桃工具箱文档](https://hut.ao/advanced/FAQ.html) - - label: 我知道文档站的导航栏中有**搜索功能**,且已经搜索过相关关键词 - required: true + - label: 我不知道文档站的导航栏中有**搜索功能**,也没有搜索过相关关键词 - - label: 我使用的操作系统是[受支持的版本](https://hut.ao/quick-start.html#%E6%9C%80%E4%BD%8E%E7%B3%BB%E7%BB%9F%E8%A6%81%E6%B1%82) - required: true + - label: 我使用的操作系统是不[受支持的版本](https://hut.ao/quick-start.html#%E6%9C%80%E4%BD%8E%E7%B3%BB%E7%BB%9F%E8%A6%81%E6%B1%82) - - label: 我**通过搜索功能**确认没有其他人已经提出了相同或类似的问题 - required: true + - label: 我没有**通过搜索功能**确认其他人提出过相同或类似的问题 - - label: 我明白上述的勾选项是**一个有助于快速排查问题的检查清单**,而不是随手确认的选项 - required: true + - label: 我不明白上述的勾选项是**一个有助于快速排查问题的检查清单**,而是随手确认的选项 - type: input id: winver diff --git a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionRecorder.cs b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionRecorder.cs index 06b90bc2..a41c515f 100644 --- a/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionRecorder.cs +++ b/src/Snap.Hutao/Snap.Hutao/Core/ExceptionService/ExceptionRecorder.cs @@ -32,7 +32,7 @@ internal sealed class ExceptionRecorder { #if RELEASE #pragma warning disable VSTHRD002 - Ioc.Default.GetRequiredService().UploadLogAsync(e.Exception).GetAwaiter().GetResult(); + Ioc.Default.GetRequiredService().UploadLogAsync(e.Exception).GetAwaiter().GetResult(); #pragma warning restore VSTHRD002 #endif StringBuilder dataDetailBuilder = new();