Skip to content

Commit

Permalink
Merge pull request #700 from onekey-sec/lower-tar-logs
Browse files Browse the repository at this point in the history
fix(handler): lower invalid checksum logs in tar handler from error to debug
  • Loading branch information
qkaiser authored Jan 5, 2024
2 parents 49e0ce6 + 5b9afc1 commit 269e3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unblob/handlers/archive/tar.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def signed_sum(octets) -> int:
return sum(b if b < 128 else 256 - b for b in octets)

if header.chksum[6:8] not in (b"\x00 ", b" \x00"):
logger.error(
logger.debug(
"Invalid checksum format",
actual_last_2_bytes=header.chksum[6:8],
handler=self.NAME,
Expand Down

0 comments on commit 269e3d7

Please sign in to comment.