Skip to content

Fix KeyError bug#26

Closed
MutedByte wants to merge 1 commit into
stoatchat:masterfrom
MutedByte:patch-1
Closed

Fix KeyError bug#26
MutedByte wants to merge 1 commit into
stoatchat:masterfrom
MutedByte:patch-1

Conversation

@MutedByte

@MutedByte MutedByte commented Feb 27, 2022

Copy link
Copy Markdown
Traceback (most recent call last):
  File "C:\Program Files\Python310\lib\site-packages\revolt\websocket.py", line 92, in handle_event
    await func(payload)
  File "C:\Program Files\Python310\lib\site-packages\revolt\websocket.py", line 131, in handle_messageupdate
    if data["content"]:
KeyError: 'content'

fix
raises when message doesn't have content

@Zomatree

Copy link
Copy Markdown
Member

This doesnt fully fix the issue, this has been fixed already.

@Zomatree Zomatree closed this Mar 22, 2022
@MutedByte
MutedByte deleted the patch-1 branch June 17, 2022 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants