prepare: Add warning if local PGP key not found.

This commit is contained in:
tecnovert
2025-03-26 12:33:33 +02:00
parent 1f6ef7dfc7
commit 65cf6789a7

View File

@@ -493,6 +493,8 @@ def importPubkey(gpg, pubkey_filename, pubkeyurls):
return return
except Exception as e: except Exception as e:
logging.warning(f"Import from file failed: {e}") logging.warning(f"Import from file failed: {e}")
else:
logger.warning(f"Public key file {pubkey_filename} not found locally.")
for url in pubkeyurls: for url in pubkeyurls:
try: try: