summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-10-29 14:40:41 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-10-29 15:15:41 +0530
commitbaabe5ba528e4d449968187fd68b0f9d619be923 (patch)
treeb93213c2c5ee015ad520175f16c86e5de96c695f /app/src/main
parent99bfccf945d8f00e6786da2acb8018056f7378f0 (diff)
refactor: add invalid `.gpg-id` file contents to errors
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/app/passwordstore/ui/crypto/PasswordCreationActivity.kt2
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 =