mirror of
https://github.com/armbian/dl-router.git
synced 2026-01-06 10:32:39 -08:00
dont dump match on match failure
This commit is contained in:
@@ -80,7 +80,6 @@ def get_region(client_ip, reader=geolite_reader, continents=mirror.continents):
|
||||
# pylint: disable=broad-except
|
||||
except Exception as error_message:
|
||||
print(f"match failure for IP: {client_ip} (Error: {error_message}")
|
||||
print(dumps(match))
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user