Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/Reflector.py
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-07-01 10:01:01 +0200
committerErich Eckner <git@eckner.net>2020-07-01 10:01:01 +0200
commitf502900c02bcadd9dadceae8655e791a1a2a8321 (patch)
treefa0e4b623c1d72822130ac935e96291057f90f7e /Reflector.py
parentd6db85cba16393bbe7651abcd631649fed836dd2 (diff)
reflector-2020.3.21.tar.xz
Diffstat (limited to 'Reflector.py')
-rw-r--r--Reflector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Reflector.py b/Reflector.py
index 54e98e0..5263316 100644
--- a/Reflector.py
+++ b/Reflector.py
@@ -128,7 +128,7 @@ def get_mirrorstatus(
return obj, mtime
except (IOError, urllib.error.URLError, socket.timeout) as err:
- raise MirrorStatusError(str(err))
+ raise MirrorStatusError(f'failed to retrieve mirrorstatus data: {err.__class__.__name__}: {err}')
# ------------------------------ Miscellaneous ------------------------------- #