为新手准备,记录出现的每一个异常!
To install bug2butterfly, simply:
$ pip install bug2butterfly
在需要的程序中导入即可
import bug2butterfly
项目目录下会生成一个`butterflies.md`文件,内容像下面这样:
2017/05/24 08:07:56 PM - root - ERROR
Traceback (most recent call last):
File "E:/pengwk_project/bug2butterfly/bug2butterfly/bug2butterfly.py", line 84, in <module>
hook_test()
File "E:/pengwk_project/bug2butterfly/bug2butterfly/bug2butterfly.py", line 76, in hook_test
print(1 / 0)
ZeroDivisionError: integer division or modulo by zero
We welcome contributions! If you would like to hack on Flask-Login, please follow these steps:
- Fork this repository
- Make your changes
- Submit a pull request (ensure it does not error!)
Please give me adequate time to review your submission. Thanks!