diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-29 14:40:41 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-29 15:15:41 +0530 |
commit | baabe5ba528e4d449968187fd68b0f9d619be923 (patch) | |
tree | b93213c2c5ee015ad520175f16c86e5de96c695f /app | |
parent | 99bfccf945d8f00e6786da2acb8018056f7378f0 (diff) |
refactor: add invalid `.gpg-id` file contents to errors
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt b/app/src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt index fddc2943..1d20eae9 100644 --- a/app/src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt +++ b/app/src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt @@ -358,7 +358,7 @@ class PasswordCreationActivity : BasePgpActivity() { } .filterIsInstance<GpgIdentifier>() if (gpgIdentifiers.isEmpty()) { - error("Failed to parse identifiers from .gpg-id") + error("Failed to parse identifiers from .gpg-id: ${gpgIdentifierFile.readText()}") } val content = "$editPass\n$editExtra" val path = |