include email address in 'fetching failed' error message
This commit is contained in:
parent
18ad7ec742
commit
18bda67779
|
|
@ -32,7 +32,7 @@ def command(event):
|
||||||
|
|
||||||
public_key = request_key_by_email(email)
|
public_key = request_key_by_email(email)
|
||||||
if not public_key:
|
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 = construct_vcard(email, public_key)
|
||||||
vcard_path = f"/tmp/{email}.vcf"
|
vcard_path = f"/tmp/{email}.vcf"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue