Skip to content

fix: replace private httpx._exceptions usage in movie_vote and tgmc#156

Merged
psykzz merged 1 commit into
mainfrom
psykzz/fix-private-httpx-exceptions
Jun 3, 2026
Merged

fix: replace private httpx._exceptions usage in movie_vote and tgmc#156
psykzz merged 1 commit into
mainfrom
psykzz/fix-private-httpx-exceptions

Conversation

@psykzz

@psykzz psykzz commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Fixes #149

Changes

Replaced \httpx._exceptions.ConnectTimeout\ and \httpx._exceptions.HTTPError\ with their public equivalents \httpx.ConnectTimeout\ and \httpx.HTTPError\ in:

  • \movie_vote/movie_vote.py\
  • \ gmc/api.py\

This matches the pattern already used by other cogs (\ideas, \�lbion_auth, \�lbion_ava, \�lbion_regear).

Use httpx.ConnectTimeout and httpx.HTTPError instead of
httpx._exceptions.ConnectTimeout and httpx._exceptions.HTTPError
in movie_vote and tgmc cogs.

Fixes #149

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@psykzz psykzz merged commit c239c82 into main Jun 3, 2026
3 checks passed
@psykzz psykzz deleted the psykzz/fix-private-httpx-exceptions branch June 3, 2026 14:45
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.

Replace private httpx._exceptions usage in movie_vote and tgmc

1 participant