mirror of
https://github.com/google/nomulus
synced 2026-01-09 15:43:52 +00:00
Wrap exception properly in PgpHelper
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188346570
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user