Skip to content

aioble/server: Log warning on out-of-order indication. #461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewleech
Copy link
Contributor

The assert in indicate_done has the potential to crash an application when indication mis-behave or were not expected.
In our experience it's been safer to just ignore and log these rather than throw an exception that cannot be easily caught.

@andrewleech andrewleech force-pushed the indication_warning branch from 8254f6b to 7e88b98 Compare May 12, 2025 05:53
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