Skip to content

pengwk/bug2butterfly

Repository files navigation

成蝶 bug2butterfly

https://travis-ci.org/pengwk/bug2butterfly.svg?branch=master

为新手准备,记录出现的每一个异常!

安装 Installation

To install bug2butterfly, simply:

$ pip install bug2butterfly

如何使用 Usage

在需要的程序中导入即可

import bug2butterfly

项目目录下会生成一个`butterflies.md`文件,内容像下面这样:

<type 'exceptions.ZeroDivisionError'>

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

Contributing

We welcome contributions! If you would like to hack on Flask-Login, please follow these steps:

  1. Fork this repository
  2. Make your changes
  3. Submit a pull request (ensure it does not error!)

Please give me adequate time to review your submission. Thanks!

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published