summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/tiptorrent.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/tiptorrent.py b/src/utils/tiptorrent.py
index 8fc1631..079a41f 100644
--- a/src/utils/tiptorrent.py
+++ b/src/utils/tiptorrent.py
@@ -35,9 +35,9 @@ def tip_fetch_csum(tip_addr, image_name):
with urllib.request.urlopen(f'{url}') as resp:
r = resp.readline().rstrip().decode('utf-8')
except urllib.error.URLError as e:
- raise OgError(f'URL error when fetching checksum: {e.reason}') from e
+ raise OgError(f'Error fetching checksum file from {url}: {e.reason}') from e
except urllib.error.HTTPError as e:
- raise OgError(f'HTTP Error when fetching checksum: {e.reason}') from e
+ raise OgError(f'Error fetching checksum file via HTTP from {url}: {e.reason}') from e
return r