brysontyrrell / StaticGroupFromSearch

Create Static Group from a Search
MIT License
14 stars 9 forks source link

Stopped Working #1

Closed Tecnico1931 closed 9 years ago

Tecnico1931 commented 9 years ago

Traceback (most recent call last): File "/Users/***_/Desktop/StaticGroupFromSearch-master/StaticGroupFromSearch.py", line 136, in results = jss.get_match(i) File "/Users/_**/Desktop/StaticGroupFromSearch-master/StaticGroupFromSearch.py", line 78, in get_match print("an error occurred during the GET: {0}".format(e.code)) AttributeError: 'URLError' object has no attribute 'code'

brysontyrrell commented 9 years ago

This is an example of me being lazy and not handling specific exceptions. I'll update this to handle different exceptions and provide better feedback. Generally URLError involves the address passed to the script. I can probably handle the input better, but double-check that for starts.

brysontyrrell commented 9 years ago

The version I just committed should address the uncaught Exceptions that were being thrown.