include email address in 'fetching failed' error message

This commit is contained in:
missytake 2025-04-06 17:37:46 +02:00
parent 18ad7ec742
commit 18bda67779
Signed by: missytake
GPG key ID: 04CC6658320518DF

View file

@ -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"