From 18bda67779e70d078da1dcc9fd65571f62db53ac Mon Sep 17 00:00:00 2001 From: missytake Date: Sun, 6 Apr 2025 17:37:46 +0200 Subject: [PATCH] include email address in 'fetching failed' error message --- src/keyserver_bot/hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyserver_bot/hooks.py b/src/keyserver_bot/hooks.py index 399be5f..bedce4e 100644 --- a/src/keyserver_bot/hooks.py +++ b/src/keyserver_bot/hooks.py @@ -32,7 +32,7 @@ def command(event): public_key = request_key_by_email(email) if not public_key: - return snapshot.chat.send_text("Sorry, I could not find a key for this user.") + return snapshot.chat.send_text(f"Sorry, I could not find a key for {email}.") vcard = construct_vcard(email, public_key) vcard_path = f"/tmp/{email}.vcf"