diff --git a/app/log/exception_handling.py b/app/log/exception_handling.py index e3bacd0..c279ca4 100644 --- a/app/log/exception_handling.py +++ b/app/log/exception_handling.py @@ -24,6 +24,8 @@ class ExceptionHanding: elif isinstance(self.exc_value, TypeError) and 'NoneType' in str(self.exc_value) and 'not iterable' in str( self.exc_value): return '数据库错误,请删除app文件夹后重启电脑再运行软件' + elif isinstance(self.exc_value,KeyboardInterrupt): + return '' else: return '未知错误类型,可参考 https://blog.lc044.love/post/7 解决该问题\n温馨提示:重启电脑可解决80%的问题' diff --git a/readme.md b/readme.md index 8d108cd..da1a163 100644 --- a/readme.md +++ b/readme.md @@ -173,6 +173,7 @@ - [STDquantum](https://github.com/STDquantum) - [xuanli](https://github.com/xuanli) - [无名路人](https://github.com/wumingluren) +- [时鹏亮](https://shipengliang.com) 如果您提供赞助并希望出现在赞助者名单中,请在提交赞助时提供您的 GitHub 用户名或其他相关信息。