diff options
-rwxr-xr-x | html/generate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/generate.py b/html/generate.py index 2d6ed2b..0ec4e4b 100755 --- a/html/generate.py +++ b/html/generate.py @@ -124,7 +124,7 @@ def getHostList(mirrorstatsList): try: mirrorData = getJson(mirror_url) except Exception as err: - print("Exception fetching "+mirror_url+": ", err) + print("Exception fetching "+mirror_url+": ", type(err).__name__, err) continue lastUpdate = datetime.datetime.fromtimestamp(int(mirrorData['LastUpdate'])).strftime('%Y-%m-%d %H:%M:%S') |