Skip to content
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

refactor eventsubws subscription error handling to not error on reconnect #439

Merged
merged 3 commits into from
Mar 15, 2024

Conversation

IAmTomahawkx
Copy link
Member

Description

Fixes a crash where an optional Future can become None.

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
    • I have updated the changelog with a quick recap of my changes. (note: changelog is in my other pr)
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)
  • I have read and agree to the Developer Certificate of Origin for this contribution

@AbstractUmbra AbstractUmbra merged commit ce7ac6a into master Mar 15, 2024
11 checks passed
@AbstractUmbra AbstractUmbra deleted the fix/eventsub-reconnect branch March 15, 2024 21:43
IAmTomahawkx added a commit that referenced this pull request Mar 17, 2024
…nect (#439)

* refactor eventsubws subscription error handling to not error on reconnect

* Why do we still support 3.7

* formatting
AbstractUmbra pushed a commit that referenced this pull request Mar 17, 2024
* refactor eventsubws subscription error handling to not error on reconnect

* potential fix for bug with headers not getting set after token updates

* Revert "refactor eventsubws subscription error handling to not error on reconnect"

This reverts commit bdb21b0.

* formatting

* changelog entry for both prs

* add more changelogs

* refactor eventsubws subscription error handling to not error on reconnect (#439)

* refactor eventsubws subscription error handling to not error on reconnect

* Why do we still support 3.7

* formatting

* Add new API routes (#441)

* Add new API routes

* add docs

* Add user emote endpoint

* work around bad frame disconnect

* run black
AbstractUmbra pushed a commit that referenced this pull request Mar 24, 2024
* refactor eventsubws subscription error handling to not error on reconnect

* potential fix for bug with headers not getting set after token updates

* Revert "refactor eventsubws subscription error handling to not error on reconnect"

This reverts commit bdb21b0.

* formatting

* changelog entry for both prs

* add more changelogs

* refactor eventsubws subscription error handling to not error on reconnect (#439)

* refactor eventsubws subscription error handling to not error on reconnect

* Why do we still support 3.7

* formatting

* Add new API routes (#441)

* Add new API routes

* add docs

* Add user emote endpoint

* work around bad frame disconnect

* run black

* actually restart on bad frame

* Update changelog.rst
IAmTomahawkx added a commit that referenced this pull request Mar 24, 2024
)

* refactor eventsubws subscription error handling to not error on reconnect

* potential fix for bug with headers not getting set after token updates

* Revert "refactor eventsubws subscription error handling to not error on reconnect"

This reverts commit bdb21b0.

* formatting

* changelog entry for both prs

* add more changelogs

* refactor eventsubws subscription error handling to not error on reconnect (#439)

* refactor eventsubws subscription error handling to not error on reconnect

* Why do we still support 3.7

* formatting

* Add new API routes (#441)

* Add new API routes

* add docs

* Add user emote endpoint

* work around bad frame disconnect

* run black

* Fix dictionary keys used in PartialUser.fetch_moderated_channels()
 - use "broadcaster_" prefix to match the data returned by the API

* actually restart on bad frame

* Update changelog.rst

* * change "broadcaster_name" to "broadcaster_login" in PartialUser.fetch_moderated_channels

* update changelog

* commit suggestions

* commit suggestions

* Apply suggestions from code review

---------

Co-authored-by: IAmTomahawkx <iamtomahawkx@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants