needmorecowbell / sniff-paste

Pastebin OSINT Harvester
313 stars 40 forks source link

Catch raised exception for reporting on next line #1

Closed cclauss closed 5 years ago

cclauss commented 5 years ago

flake8 testing of https://github.com/needmorecowbell/sniff-paste on Python 3.6.3

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./sniff-paste.py:87:48: F821 undefined name 'e'
            print("Invalid Phone Number: "+str(e))
                                               ^
1     F821 undefined name 'e'
1
needmorecowbell commented 5 years ago

Thanks for the heads up!! I fixed the line in the newest commit after merging the scraper with the harvester.