handled exception for dns resolution + webring errors dont halt page gen.
This commit is contained in:
parent
8a723c2bc8
commit
972165018c
@ -385,6 +385,9 @@ if __name__ == "__main__":
|
|||||||
except http.HTTPError as e:
|
except http.HTTPError as e:
|
||||||
print(e,": ", someone, file=sys.stderr)
|
print(e,": ", someone, file=sys.stderr)
|
||||||
pass
|
pass
|
||||||
|
except http.URLError as e:
|
||||||
|
print(e, file=sys.stderr)
|
||||||
|
print("\t =>", someone, file=sys.stderr)
|
||||||
return other_people
|
return other_people
|
||||||
# list_of_json_objs = []
|
# list_of_json_objs = []
|
||||||
# with open("meta.json",'r') as f:
|
# with open("meta.json",'r') as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user