From bba7d3455c44fc40b6ddbb91e669687ebd246aee Mon Sep 17 00:00:00 2001 From: David Kaspar Date: Tue, 10 Sep 2024 09:39:35 +0200 Subject: [PATCH] enhanced nip05 logging --- .../vitorpamplona/amethyst/service/Nip05NostrAddressVerifier.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/Nip05NostrAddressVerifier.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/Nip05NostrAddressVerifier.kt index 1771e29ec..507149e68 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/Nip05NostrAddressVerifier.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/Nip05NostrAddressVerifier.kt @@ -126,7 +126,7 @@ class Nip05NostrAddressVerifier { val hexKey = nip05url?.get("names")?.get(user)?.asText() if (hexKey == null) { - onError("Username not found in the NIP05 JSON") + onError("Username not found in the NIP05 JSON [$nip05]") } else { onSuccess(hexKey) }