summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rwxr-xr-xhtml/generate.py2
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')