mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
api/metadata: use debug logging
Signed-off-by: William Woodruff <william@trailofbits.com>
This commit is contained in:
parent
408bf9ba20
commit
d44fe52ce1
1 changed files with 1 additions and 3 deletions
|
|
@ -778,9 +778,7 @@ def verify_signature(
|
|||
SerializationError,
|
||||
) as e:
|
||||
# Log unexpected failure, but continue as if there was no signature
|
||||
logger.warning(
|
||||
"Key %s failed to verify sig: %s", self.keyid, str(e)
|
||||
)
|
||||
logger.debug("Key %s failed to verify sig: %s", self.keyid, str(e))
|
||||
raise exceptions.UnsignedMetadataError(
|
||||
f"Failed to verify {self.keyid} signature"
|
||||
) from e
|
||||
|
|
|
|||
Loading…
Reference in a new issue