rapportive
rapportive copied to clipboard
Error Handling
For a request if the response is 'nothing useful' the program stops running and throws error as below:
Traceback (most recent call last): File "./rapportive.py", line 136, in <module> main() File "./rapportive.py", line 132, in main ___process_email(arg, output) File "./rapportive.py", line 104, in ___process_email if profile and profile.success != 'nothing_useful': AttributeError: 'unicode' object has no attribute 'success