Skip to content

Commit 2dc8c7a

Browse files
committed
Print the message that failed to decrypt
1 parent f2eecde commit 2dc8c7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

weecrypt.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,9 @@ def weecrypt_retry_cmd(data, buffer, args):
239239
else:
240240
weechat.prnt("", "%s: %s" % (nick, result))
241241
else:
242+
weechat.prnt("", "/weecrypt_retry failed: %s" % message)
242243
for line in result.splitlines():
243-
weechat.prnt("", "Error: %s" % line)
244+
weechat.prnt("", "Retry error: %s" % line)
244245
failed_messages = []
245246
return weechat.WEECHAT_RC_OK
246247

0 commit comments

Comments
 (0)