Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加报错日志 #24

Open
Linnest2020 opened this issue Jan 22, 2023 · 1 comment
Open

添加报错日志 #24

Linnest2020 opened this issue Jan 22, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Linnest2020
Copy link
Contributor

本项目中, 大量出现了exception...pass的代码, 不利于维护, 也不利于第三方增添功能, 我没看懂这个log怎么运行, 请添加报错日志

@lunzhiPenxil
Copy link
Member

理论上,应当使用

except Exception as e:
    traceback.print_exc()

或者配合traceback.format_exc()使用,但此前本项目的参与者一直采用即时沟通,所以这部分没有太在意,后续这部分可以着重改造

@lunzhiPenxil lunzhiPenxil added this to the 0.3.0 milestone Jan 22, 2023
@lunzhiPenxil lunzhiPenxil added the enhancement New feature or request label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants