mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-26 00:56:09 +02:00
Log exception when GPG signature cannot be read
This commit is contained in:
@@ -61,9 +61,9 @@ public class DefaultGPG implements GPG {
|
||||
PGPSignatureList signatures = (PGPSignatureList) pgpObjectFactory.nextObject();
|
||||
return "0x" + Long.toHexString(signatures.get(0).getKeyID()).toUpperCase();
|
||||
} catch (IOException e) {
|
||||
LOG.error("Could not find public key id in signature");
|
||||
LOG.info("Could not find public key id in signature", e);
|
||||
return "";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user