mirror of
https://github.com/ReVanced/revanced-library.git
synced 2026-01-11 05:46:17 +00:00
feat: Improve exception message
This commit is contained in:
@@ -154,7 +154,7 @@ object ApkSigner {
|
|||||||
logger.fine("Reading key and certificate pair from keystore entry $keyStoreEntryAlias")
|
logger.fine("Reading key and certificate pair from keystore entry $keyStoreEntryAlias")
|
||||||
|
|
||||||
if (!keyStore.containsAlias(keyStoreEntryAlias)) {
|
if (!keyStore.containsAlias(keyStoreEntryAlias)) {
|
||||||
throw IllegalArgumentException("Keystore does not contain alias $keyStoreEntryAlias")
|
throw IllegalArgumentException("Keystore does not contain entry with alias $keyStoreEntryAlias")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read the private key and certificate from the keystore.
|
// Read the private key and certificate from the keystore.
|
||||||
|
|||||||
Reference in New Issue
Block a user