From c6ab7a4a2d25cdb34f719491046e26199f0bc484 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Mon, 29 Jul 2024 23:33:44 +0200 Subject: utils: enhance logging for checksum mismatch display checksum for server and local file when checksum mismatches. --- src/utils/tiptorrent.py | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-18-g5258