Skip to content

Commit c4ffe9b

Browse files
committed
Fix error code in crypto-related MSS events
1 parent 2d59855 commit c4ffe9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mautrix/bridge/matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ async def _send_crypto_status_error(
620620
evt,
621621
status=MessageStatus.RETRIABLE if is_final else MessageStatus.PENDING,
622622
reason=MessageStatusReason.UNDECRYPTABLE,
623-
error=msg,
623+
error=str(err),
624624
message=err.human_message if err else None,
625625
)
626626

0 commit comments

Comments
 (0)