diff --git a/syncpackage b/syncpackage index b024e76..4008747 100755 --- a/syncpackage +++ b/syncpackage @@ -462,7 +462,7 @@ def is_blocklisted(query): try: with urllib.request.urlopen(url) as f: cached_sync_blocklist = f.read().decode("utf-8") - except: + except OSError: print("WARNING: unable to download the sync blocklist. Erring on the side of caution.") return ("ALWAYS", "INTERNAL ERROR: Unable to fetch sync blocklist")