whym / whois-gateway

Web-based whois gateway written in Python for lighttpd
BSD 3-Clause "New" or "Revised" License
26 stars 20 forks source link

Log failures (including lookup failures, upstream errors etc) for later diagnosis #3

Open whym opened 9 years ago

whym commented 9 years ago

The all-catch exception handling (except Exception as e) leaves possible failures unnoticed.

Expected errors such as ipwhois.WhoisLookupError safe to pass, but other IO errors might not be so.