Skip to content

Add MessageReceiveError exception and tests for message handling#231

Merged
MatthewCane merged 2 commits intoMatthewCane:mainfrom
PetrusBellmonte:feat/add-receive-msg-error
Apr 2, 2026
Merged

Add MessageReceiveError exception and tests for message handling#231
MatthewCane merged 2 commits intoMatthewCane:mainfrom
PetrusBellmonte:feat/add-receive-msg-error

Conversation

@PetrusBellmonte
Copy link
Copy Markdown
Contributor

Problem:
When requesting cached message fails due to e.g. insufficient authentication get_cached_messages failed with a KeyError raised during later sorting.

Proposed solution:
Add MessageReceiveError (in addition to the existing MessageSendError) and use it in the get_cached_messages

Copy link
Copy Markdown
Owner

@MatthewCane MatthewCane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good improvement, thank you for the contribution!

@MatthewCane MatthewCane merged commit df42ddf into MatthewCane:main Apr 2, 2026
7 checks passed
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