From 9bde904a97ecda13ee177311927a367b1ffe4253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Wed, 7 Aug 2024 16:00:49 +0800 Subject: [PATCH] issue --- .github/ISSUE_TEMPLATE/01_bug.yaml | 10 ++++++++++ LunaTranslator/LunaTranslator/gui/setting_about.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/01_bug.yaml b/.github/ISSUE_TEMPLATE/01_bug.yaml index c4fa9a2e..7d8bd07d 100644 --- a/.github/ISSUE_TEMPLATE/01_bug.yaml +++ b/.github/ISSUE_TEMPLATE/01_bug.yaml @@ -20,5 +20,15 @@ body: Describe the reproduction steps precisely if possible. 尽可能详细描述错误产生的细节。 + validations: + required: true + +- type: textarea + attributes: + label: Logs 日志文件 + description: > + Please provide me with the latest txt log file in the logs directory. + + 将logs目录下最新的txt日志文件给我。 validations: required: true \ No newline at end of file diff --git a/LunaTranslator/LunaTranslator/gui/setting_about.py b/LunaTranslator/LunaTranslator/gui/setting_about.py index ceafab01..28b5f58d 100644 --- a/LunaTranslator/LunaTranslator/gui/setting_about.py +++ b/LunaTranslator/LunaTranslator/gui/setting_about.py @@ -31,7 +31,7 @@ def tryqueryfromhost(): return _version, res except: - print_exc() + pass def tryqueryfromgithub():