summaryrefslogtreecommitdiffstats
path: root/src/utils/tiptorrent.py
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-07-29 23:33:44 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-07-30 00:51:37 +0200
commitc6ab7a4a2d25cdb34f719491046e26199f0bc484 (patch)
tree093b24e248350d150e374500ce3c21d73db3b089 /src/utils/tiptorrent.py
parent8395982244bf032676624af97e5ddb9bb6636bd8 (diff)
utils: enhance logging for checksum mismatch
display checksum for server and local file when checksum mismatches.
Diffstat (limited to 'src/utils/tiptorrent.py')
-rw-r--r--src/utils/tiptorrent.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/tiptorrent.py b/src/utils/tiptorrent.py
index f93b855..77cc78b 100644
--- a/src/utils/tiptorrent.py
+++ b/src/utils/tiptorrent.py
@@ -84,6 +84,7 @@ def tip_check_csum(tip_addr, image_name):
else:
ret = False
logging.warn(f'Checksum mismatch for {image_name}.img')
+ logging.warn(f'Server reports checksum {remote_csum} but local checksum is {cache_csum}')
return ret