mirror of https://git.48k.eu/ogclient
utils: enhance logging for checksum mismatch
display checksum for server and local file when checksum mismatches.master
parent
8395982244
commit
c6ab7a4a2d
|
@ -84,6 +84,7 @@ def tip_check_csum(tip_addr, image_name):
|
||||||
else:
|
else:
|
||||||
ret = False
|
ret = False
|
||||||
logging.warn(f'Checksum mismatch for {image_name}.img')
|
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
|
return ret
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue