mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 00:47:11 +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(
|
throw new VerifyException(String.format(
|
||||||
"No public key (%s) found matching substring: %s", want, query));
|
"No public key (%s) found matching substring: %s", want, query));
|
||||||
} catch (PGPException e) {
|
} catch (PGPException e) {
|
||||||
throw new VerifyException(String.format(
|
throw new VerifyException(String.format("Public key lookup failed for query: %s", query), e);
|
||||||
"Public key lookup with query %s failed: %s", query, e.getMessage()));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue