mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02:00
Wrap exception properly in PgpHelper
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188346570
This commit is contained in:
parent
c4f1be4baa
commit
7a7ad5c528
1 changed files with 1 additions and 2 deletions
|
@ -88,8 +88,7 @@ public final class PgpHelper {
|
|||
throw new VerifyException(String.format(
|
||||
"No public key (%s) found matching substring: %s", want, query));
|
||||
} catch (PGPException e) {
|
||||
throw new VerifyException(String.format(
|
||||
"Public key lookup with query %s failed: %s", query, e.getMessage()));
|
||||
throw new VerifyException(String.format("Public key lookup failed for query: %s", query), e);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue